Make open() and close() an official part of the netdevice API.
authorMichael Brown <mcb30@etherboot.org>
Thu, 4 Jan 2007 04:20:08 +0000 (04:20 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 4 Jan 2007 04:20:08 +0000 (04:20 +0000)
commit0c03bb5a9a0649ec7009e334c0e42290af330437
treed523c7ba2ae84b0998b7e8121d70a603d6fd087a
parentd4894f0127399cb3a91c6e8e0b450ce71573eec9
Make open() and close() an official part of the netdevice API.

Call netdevice's poll() and transmit() methods only when device is open.
src/drivers/net/legacy.c
src/drivers/net/pnic.c
src/drivers/net/rtl8139.c
src/include/gpxe/netdevice.h
src/net/netdevice.c
src/usr/autoboot.c