[U-Boot-Users] [PATCH v2] Add general ULi 526x Ethernet driver support in U-boot

Ben Warren bwarren at qstreams.com
Thu Nov 1 18:43:55 CET 2007


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




More information about the U-Boot mailing list