cvs commit: src/sys/dev/netif/em if_em.c if_em.h
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Fri Jun 4 09:32:21 PDT 2004
joerg 2004/06/04 09:32:11 PDT
DragonFly src repository
Modified files:
sys/dev/netif/em if_em.c if_em.h
Log:
Continue cleaning em(4).
Merge PCI resource allocation / deallocation into em_attach and em_detach.
Change the order of allocations in em_attach to work without splimp()
protection.
Remove adapter->unit, adapter->next and adapter->prev.
Use em_detach for the error handling in em_attach as well.
Move the reset of if_timer into em_stop.
Use adapter->hw.mac_addr instead of arpcom's entry.
Revision Changes Path
1.16 +93 -124 src/sys/dev/netif/em/if_em.c
1.7 +0 -3 src/sys/dev/netif/em/if_em.h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/if_em.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/if_em.h.diff?r1=1.6&r2=1.7&f=u
More information about the Commits
mailing list