
1 Nov
2007
1 Nov
'07
6:43 p.m.
Zang Roy-r61911 wrote:
<snip>
+static void allocate_rx_buffer(struct uli526x_board_info *db) +{
- int index;
- struct rx_desc *rxptr;
- rxptr = db->first_rx_desc;
- u32 addr;
- for (index = 0; index < RX_DESC_CNT; index++) {
invalidate_dcache_range((uchar *)NetRxPackets[index],
(uchar *)NetRxPackets[index] +
RX_ALLOC_SIZE);
MAKEALL yaks on some targets (ppc4xx) that don't define 'invalidate_dcache_range'. Since this is a PCI driver, more work needs to be done to make it cross-platform.
regards, Ben