Michael Brown
73b09ecba6
Use stdio.h instead of vsprintf.h
18 年之前
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).
18 年之前
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.
18 年之前
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
18 年之前
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.
18 年之前
Michael Brown
7c76791730
Improve debugging output for legacy wrapper
18 年之前
Michael Brown
1697c78848
Legacy drivers cannot cope with multiple active devices.
18 年之前
Michael Brown
02df45352c
Force pci.o to be included.
Print warning message at probe time.
18 年之前
Michael Brown
754cfdfcf4
Legacy drivers will not pad when necessary
18 年之前
Michael Brown
286bf68faf
Added a very quick and dirty compatibility layer, to allow
not-yet-updated drivers to at least function.
18 年之前