lkml.org 
[lkml]   [2005]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Re: [patch] net/tulip: LAN driver for ULI M5261/M5263
From
Date

Resend the mail,Alexey,do you think anywhere else we need modify about the
source?
=============================================
Jeff:
I have removed the uli526x support from tulip core driver,check the patch
file for detail,thanks.
(See attached file: patchtulip)

Alexey:
Here the new patch,please check it, thanks.
(See attached file: patchuli526x)
I modify the source according to your suggestion except:
=====================================================
uli526x_init_one()
{
struct net_device *dev;

dev = alloc_etherdev(sizeof(*db));
if (dev == NULL)
return -ENOMEM;

[dev is dereferenced a couple of times]

pci_set_drvdata(pdev, dev);
...
}

> + pci_free_consistent(db->pdev, sizeof(struct
tx_desc) *
> + DESC_ALL_CNT +
0x20, db->desc_pool_ptr,
> +
db->desc_pool_dma_ptr);
> + pci_free_consistent(db->pdev, TX_BUF_ALLOC *
TX_DESC_CNT + 4,
> +
db->buf_pool_ptr, db->buf_pool_dma_ptr);
> + unregister_netdev(dev);
> + pci_release_regions(pdev);
> + free_netdev(dev); /* free board
information */
> + pci_set_drvdata(pdev, NULL);
> + }
=======================================================
I can not really get your meaning, could you give the explanation in
detail?

Best Regards
Peer
[unhandled content-type:application/octet-stream][unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2005-08-04 07:43    [W:0.211 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site