Michael Brown
73b09ecba6
Use stdio.h instead of vsprintf.h
před 18 roky
Michael Brown
dad5274522
Add "name" field to struct device to allow human-readable hardware device
names.
Add "dev" pointer in struct net_device to tie network interfaces back to a
hardware device.
Force natural alignment of data types in __table() macros. This seems to
prevent gcc from taking the unilateral decision to occasionally increase
their alignment (which screws up the table packing).
před 18 roky
Michael Brown
c65fae2475
Add RX quotas to the net device poll() method. This avoids the problem
of alloc_pkb() exhaustion when e.g. an iSCSI-booted DOS session is left
idle for a long time at the C:\ prompt and builds up a huge packet
backlog.
před 18 roky
Michael Brown
b7fcfe8ece
Added net device TX queue; this will be needed to support the PXE UNDI API
(which will need us to wait for TX completions).
Added debug autocolourisation to netdevice.c
před 18 roky
Michael Brown
0c03bb5a9a
Make open() and close() an official part of the netdevice API.
Call netdevice's poll() and transmit() methods only when device is open.
před 18 roky
Michael Brown
7c76791730
Improve debugging output for legacy wrapper
před 18 roky
Michael Brown
1697c78848
Legacy drivers cannot cope with multiple active devices.
před 18 roky
Michael Brown
02df45352c
Force pci.o to be included.
Print warning message at probe time.
před 18 roky
Michael Brown
754cfdfcf4
Legacy drivers will not pad when necessary
před 18 roky
Michael Brown
286bf68faf
Added a very quick and dirty compatibility layer, to allow
not-yet-updated drivers to at least function.
před 18 roky