Michael Brown
ac69b85adb
UNDI loader entry point implemented; seems to work.
vor 17 Jahren
Michael Brown
0324d5ff70
!PXE and PXENV+ structures are in code segment, not data segment.
vor 17 Jahren
Michael Brown
1ecb9acb87
Fix typo
vor 17 Jahren
Michael Brown
fc5f6c9de2
Cope with builds with differing debug options within a second of each
other.
vor 17 Jahren
Michael Brown
dca470cb21
Add (untested) UNDI loader C-level implementation.
vor 17 Jahren
Michael Brown
89349d7fad
Separated out initialisation functions from startup/shutdown functions.
vor 17 Jahren
Marty Connor
79238335b0
remove obsolete file: src/arch/i386/prefix/int19exit.c
vor 17 Jahren
Michael Brown
a5f33ea283
Added missing line to set return status code.
vor 17 Jahren
Michael Brown
01b3dd4fc3
Line buffer API changed a while ago
vor 17 Jahren
Marty Connor
ec0da04e7d
Warnings purge iscsiboot.c
vor 17 Jahren
Michael Brown
1f24ba73c4
Added missing "extern"
vor 17 Jahren
Marty Connor
9b3c4e4d79
Warnings purge: src/arch/i386, src/core/disk.c, ramdisk, autoboot
vor 17 Jahren
Michael Brown
b5311c2c88
This comment is no longer relevant.
vor 17 Jahren
Michael Brown
438d1cc0b9
Should be using the generic device probe mechanism, when (if) they
eventually get updated.
vor 17 Jahren
Michael Brown
fae10a7ca1
We don't actually use the reset functions anywhere, and nothing really
provides them.
vor 17 Jahren
Michael Brown
5ce5e6d846
Move pxe_netdev and set_pxe_netdev to pxe_undi.c and remove
now-obsolete pxe.c.
vor 17 Jahren
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.
vor 17 Jahren
Marty Connor
c77704cb60
Warnings purge: src/{crypto,hci,net}
vor 17 Jahren
Michael Brown
0924cf678e
Implemented (untested) PXENV_START_UNDI.
vor 17 Jahren
Michael Brown
30a442aef8
Report our interface type as "gPXE" to avoid working around Etherboot
5.4 bugs when driving ourselves via UNDI.
vor 17 Jahren
Michael Brown
2dc8ed1eb8
Work around Etherboot 5.4 bug when multiple packets are received.
vor 17 Jahren
Michael Brown
ca4bd3e24e
Kill off now-redundant _irq() methods.
vor 17 Jahren
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.
vor 17 Jahren
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.
vor 17 Jahren
Michael Brown
0958726ebb
It's not just Etherboot that fails to generate TX completions.
vor 17 Jahren
Michael Brown
5b52630a9c
Never attempt to route the broadcast address.
vor 17 Jahren
Michael Brown
adb3dd03e5
Document TX completion bug.
vor 17 Jahren
Michael Brown
71f500ff1b
Enable/disable interrupts in driver open/close.
vor 17 Jahren
Michael Brown
5f92f0bd82
Reserve space for link-layer header in pxenv_undi_transmit() when not
handed a P_UNKNOWN packet.
vor 17 Jahren
Michael Brown
290280f90e
Enable/disable interrupts at open/close time.
vor 17 Jahren
Michael Brown
258afef751
Add missing call to free_iob() in pxenv_undi_isr().
Correct typo in pxenv_set_station_address().
vor 17 Jahren
Michael Brown
a2a0c2eace
Enable/disable interrupts on open/close.
vor 17 Jahren
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.
vor 17 Jahren
Michael Brown
071356d976
Ensure that pxe_netdev is set before starting up PXE NBP.
vor 17 Jahren
Michael Brown
cbd956535e
Place netdev_open()/netdev_close() calls in appropriate places.
vor 17 Jahren
Michael Brown
8f37a6a424
Add mechanism for providing TX completion events.
vor 17 Jahren
Marty Connor
f04899bf6c
Warnings purge
vor 17 Jahren
Marty Connor
b234d4a13e
Warnings purge
vor 17 Jahren
Marty Connor
ef7f6e72a1
Warnings purge
vor 17 Jahren
Marty Connor
bf871c4d03
Warnings purge of src/core
vor 17 Jahren
Michael Brown
332614a382
Add untested support for UNDI transmit and receive.
vor 17 Jahren
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).
vor 17 Jahren
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.
vor 17 Jahren
Michael Brown
e3bbfd7a75
Call shutdown() from pxenv_undi_shutdown(). Probably not totally
correct, but it's enough to get RIS working.
vor 17 Jahren
Michael Brown
d7e471f654
Improve debugging
vor 17 Jahren
Michael Brown
15f8323055
Removing obsolete files.
vor 17 Jahren
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.
vor 17 Jahren
Michael Brown
3bf5eb49d0
Can't use strncpy() to copy strings that aren't NUL-terminated to
begin with.
vor 17 Jahren
Michael Brown
31fe5b9415
Hack together far enough to support ne2k-pci.
vor 17 Jahren
Michael Brown
f33bbd4112
How has the legacy wrapper been working for the past month or so...?
vor 17 Jahren