Michael Brown
d393e61d8a
Temporary hack to work around the "TX overflow" problem in the interim
period before updating to the new driver API (which can cope with
having TX packets in progress).
преди 19 години
Michael Brown
52de4935f9
Add 4 bytes to maximum frame length to allow for the frame checksum.
(This actually matters once you try using TCP, because you *will*
receive full-sized frames.)
преди 19 години
Michael Brown
7c76791730
Improve debugging output for legacy wrapper
преди 19 години
Michael Brown
e5865e796b
Forward-port event queue fixes from 5.4 tree.
преди 19 години
Michael Brown
a20c565ef3
Forward-port start-of-day fixes from 5.4 tree
преди 19 години
Michael Brown
50ab8c0e5b
Forward-port reset-related changes from 5.4 tree.
преди 19 години
Michael Brown
3b51c719d3
Generalise three-wire interface to generic SPI interface.
Update rtl8139 driver to instantiate an SPI interface with a three-wire
device attached.
преди 19 години
Michael Brown
714641ae6d
Translate between "0 = success" and "0 = failure" call standards.
преди 19 години
Michael Brown
7ce44f7480
Update to use the generic i2c bit-bashing code.
преди 19 години
Michael Brown
1697c78848
Legacy drivers cannot cope with multiple active devices.
преди 19 години
Michael Brown
02df45352c
Force pci.o to be included.
Print warning message at probe time.
преди 19 години
Michael Brown
754cfdfcf4
Legacy drivers will not pad when necessary
преди 19 години
Michael Brown
7826de3f7e
PNIC doesn't auto-pad.
преди 19 години
Michael Brown
286bf68faf
Added a very quick and dirty compatibility layer, to allow
not-yet-updated drivers to at least function.
преди 19 години
Michael Brown
70ef6dbb7c
Rewrote to use the new net driver API, the updated PCI API, and the
generic three-wire serial device support for EEPROM access.
преди 19 години
Michael Brown
4d0a0f822d
Use insb/outsb; it's marginally faster.
преди 19 години
Michael Brown
15ee09ed10
Restructured PCI subsystem to fit the new device model.
Generic PCI code now handles 64-bit BARs correctly when setting
"membase"; drivers should need to call pci_bar_start() only if they want
to use BARs other than the first memory or I/O BAR.
Split rarely-used PCI functions out into pciextra.c.
Core PCI code is now 662 bytes (down from 1308 bytes in Etherboot 5.4).
284 bytes of this saving comes from the pci/pciextra split.
Cosmetic changes to lots of drivers (e.g. vendor_id->vendor in order to
match the names used in Linux).
преди 19 години
Michael Brown
79f64eea55
Transmit the buffer contents, not the buffer descriptor...
преди 19 години
Michael Brown
fcf765e42d
Add missing {register,free}_netdev().
Tie into existing driver API; we'll fix that up soon.
преди 19 години
Michael Brown
832e86246b
gcc is rather over-aggressive about optimising out static data structures
even when __atribute__ (( unused )) is correctly set...
преди 19 години
Michael Brown
824d6ffa7f
Header rearrangement.
I want to get to the point where any header in include/ reflects a
standard user-level header (e.g. a POSIX header), while everything that's
specific to gPXE lives in include/gpxe/. Headers that reflect a Linux
header (e.g. if_ether.h) should also be in include/gpxe/, with the same
name as the Linux header and, preferably, the same names used for the
definitions.
преди 19 години
Michael Brown
fdc2ee79db
Network API now allows for multiple network devices (although the
implementation allows for only one, and does so without compromising on
the efficiency of static allocation).
Link-layer protocols are cleanly separated from the device drivers.
Network-layer protocols are cleanly separated from individual network
devices.
Link-layer and network-layer protocols are cleanly separated from each
other.
преди 19 години
Michael Brown
d08ce741a4
Build in gpxe
преди 19 години
Michael Brown
0806436d99
Remove accidental duplicate arising from merge
преди 19 години
Michael Brown
239579efcf
Build under gpxe
преди 19 години
Michael Brown
d0777627c6
Back out duplication arising from the merge
преди 19 години
Michael Brown
c4f25b637c
Fix to compile under gpxe
преди 19 години
George Baum
bd9d4e0bd7
Reorder functions to match the linux driver.
No code changes apart from commenting one unused function out.
преди 19 години
Timothy Legge
4184dc5c6a
Fix COMET TxUnderrun issue
преди 20 години
Timothy Legge
95967adc8c
Jan Kiszka provided a patch for the smc9000 for missing phy-setup
преди 20 години
George Baum
c4c05bbbf7
the uncontroversal gcc 4.0 compilation fixes
преди 20 години
Michael Brown
e91c65bea1
Make PCI ID tables const so as not to trigger a warning about a large
symbol.
преди 20 години
Michael Brown
24c0498cbc
Move tulip_private structure into shared data.
преди 20 години
Michael Brown
42eb786ced
D'oh
преди 20 години
Michael Brown
4bcd42699b
Use __shared
преди 20 години
Michael Brown
303ff86c75
Added example of how to use __shared.
Moved transmit before poll, since typically transmit will be implemented first.
преди 20 години
Michael Brown
c112f12c5b
Symbol fixups
преди 20 години
Michael Brown
3c2851e563
Arbitrary alignment is now available.
Use shared symbols.
Correct other symbol violations.
преди 20 години
Michael Brown
ee15c47cb5
Use shared symbols
преди 20 години
Michael Brown
3267ca5568
Use shared symbols to save space
преди 20 години
Michael Brown
60b82eb5cd
Moved definition of __shared into compiler.h
преди 20 години
Michael Brown
a1f50f27b0
Correct symbol violations reported by "make symcheck"
преди 20 години
Michael Brown
7e534b585f
Automatically updated with
perl -pi -0777 -e 's/^static struct \w+_driver (\w+) =\s*(\w+_DRIVER \()/${2} ${1},/msg' *.c
преди 20 години
Michael Brown
99b857559b
Added "name" field to struct bus_driver
преди 20 години
Michael Brown
9dc7ebc152
Symbol errors caught by symcheck.pl
преди 20 години
Michael Brown
e8f364551a
Typo
преди 20 години
Michael Brown
08ff0c1d30
Ensured that all drivers call xxx_fill_nic().
преди 20 години
Michael Brown
e7c177cc33
Coerced into compiling
преди 20 години
Michael Brown
628444af86
Updated to new device probing API
преди 20 години
Michael Brown
49fe02e501
Coerced into compiling
преди 20 години