Marty Connor
b219814627
Remove deprecation of pci_bar_size()
17 years ago
Marty Connor
1af1668c95
Warnings purge of drivers (continued)
17 years ago
Michael Brown
ac69b85adb
UNDI loader entry point implemented; seems to work.
17 years ago
Michael Brown
0324d5ff70
!PXE and PXENV+ structures are in code segment, not data segment.
17 years ago
Michael Brown
1ecb9acb87
Fix typo
17 years ago
Michael Brown
fc5f6c9de2
Cope with builds with differing debug options within a second of each
other.
17 years ago
Michael Brown
dca470cb21
Add (untested) UNDI loader C-level implementation.
17 years ago
Michael Brown
89349d7fad
Separated out initialisation functions from startup/shutdown functions.
17 years ago
Marty Connor
79238335b0
remove obsolete file: src/arch/i386/prefix/int19exit.c
17 years ago
Michael Brown
a5f33ea283
Added missing line to set return status code.
17 years ago
Michael Brown
01b3dd4fc3
Line buffer API changed a while ago
17 years ago
Marty Connor
ec0da04e7d
Warnings purge iscsiboot.c
17 years ago
Michael Brown
1f24ba73c4
Added missing "extern"
17 years ago
Marty Connor
9b3c4e4d79
Warnings purge: src/arch/i386, src/core/disk.c, ramdisk, autoboot
17 years ago
Michael Brown
b5311c2c88
This comment is no longer relevant.
17 years ago
Michael Brown
438d1cc0b9
Should be using the generic device probe mechanism, when (if) they
eventually get updated.
17 years ago
Michael Brown
fae10a7ca1
We don't actually use the reset functions anywhere, and nothing really
provides them.
17 years ago
Michael Brown
5ce5e6d846
Move pxe_netdev and set_pxe_netdev to pxe_undi.c and remove
now-obsolete pxe.c.
17 years ago
Michael Brown
fd86c819ba
Use a linker-table based system to automatically mark and start up
permanent processes, rather than requiring each one to have its own
initialisation function.
17 years ago
Marty Connor
c77704cb60
Warnings purge: src/{crypto,hci,net}
17 years ago
Michael Brown
0924cf678e
Implemented (untested) PXENV_START_UNDI.
17 years ago
Michael Brown
30a442aef8
Report our interface type as "gPXE" to avoid working around Etherboot
5.4 bugs when driving ourselves via UNDI.
17 years ago
Michael Brown
2dc8ed1eb8
Work around Etherboot 5.4 bug when multiple packets are received.
17 years ago
Michael Brown
ca4bd3e24e
Kill off now-redundant _irq() methods.
17 years ago
Michael Brown
1ce0b4bbfb
Kill off PXENV_UNDI_FORCE_INTERRUPT support; we have no reason to
suspect that we need it, and implementing it would require needlessly
complicating the net device API.
17 years ago
Michael Brown
e436b993a9
Avoid double free on I/O buffer when rtl_transmit() returns failure.
Convert printf() to DBG(); printf() is not allowed in drivers.
17 years ago
Michael Brown
0958726ebb
It's not just Etherboot that fails to generate TX completions.
17 years ago
Michael Brown
5b52630a9c
Never attempt to route the broadcast address.
17 years ago
Michael Brown
adb3dd03e5
Document TX completion bug.
17 years ago
Michael Brown
71f500ff1b
Enable/disable interrupts in driver open/close.
17 years ago
Michael Brown
5f92f0bd82
Reserve space for link-layer header in pxenv_undi_transmit() when not
handed a P_UNKNOWN packet.
17 years ago
Michael Brown
290280f90e
Enable/disable interrupts at open/close time.
17 years ago
Michael Brown
258afef751
Add missing call to free_iob() in pxenv_undi_isr().
Correct typo in pxenv_set_station_address().
17 years ago
Michael Brown
a2a0c2eace
Enable/disable interrupts on open/close.
17 years ago
Michael Brown
4968caab82
Add trivial net device statistics (TX and RX packet count), reported
via UNDI API and also by ifstat command; may be useful for debugging.
17 years ago
Michael Brown
071356d976
Ensure that pxe_netdev is set before starting up PXE NBP.
17 years ago
Michael Brown
cbd956535e
Place netdev_open()/netdev_close() calls in appropriate places.
17 years ago
Michael Brown
8f37a6a424
Add mechanism for providing TX completion events.
17 years ago
Marty Connor
f04899bf6c
Warnings purge
17 years ago
Marty Connor
b234d4a13e
Warnings purge
17 years ago
Marty Connor
ef7f6e72a1
Warnings purge
17 years ago
Marty Connor
bf871c4d03
Warnings purge of src/core
17 years ago
Michael Brown
332614a382
Add untested support for UNDI transmit and receive.
17 years ago
Michael Brown
e42eba4af4
Use a common base-memory packet buffer for DHCP construction (as used
by PXE and NBI) and UNDI packets (as used by undinet and UNDI).
17 years ago
Michael Brown
5f17089b14
pxe_netdev now holds a reference to the network device.
Use generic fields in struct device_description rather than assuming
that the struct device * is contained within a pci_device or
isapnp_device; this assumption is broken when using the undionly
driver.
Add PXENV_UNDI_SET_STATION_ADDRESS.
17 years ago
Michael Brown
e3bbfd7a75
Call shutdown() from pxenv_undi_shutdown(). Probably not totally
correct, but it's enough to get RIS working.
17 years ago
Michael Brown
d7e471f654
Improve debugging
17 years ago
Michael Brown
15f8323055
Removing obsolete files.
17 years ago
Michael Brown
95cb7aaacf
Support cards such as natsemi which treat the data as little-endian
(i.e. LSB transmitted first on the wire), even though SPI commands and
addresses always have to be big-endian.
17 years ago
Michael Brown
3bf5eb49d0
Can't use strncpy() to copy strings that aren't NUL-terminated to
begin with.
17 years ago