438d1cc0b9
Should be using the generic device probe mechanism, when (if) they eventually get updated.
Michael Brown2007-07-03 20:39:30 +01:00
fae10a7ca1
We don't actually use the reset functions anywhere, and nothing really provides them.
Michael Brown2007-07-03 20:34:51 +01:00
5ce5e6d846
Move pxe_netdev and set_pxe_netdev to pxe_undi.c and remove now-obsolete pxe.c.
Michael Brown2007-07-03 20:21:16 +01:00
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.
Michael Brown2007-07-03 20:09:14 +01:00
4bcfe7507b
Merge branch 'master' of /pub/scm/gpxe
Marty Connor2007-07-03 13:20:54 -04:00
30a442aef8
Report our interface type as "gPXE" to avoid working around Etherboot 5.4 bugs when driving ourselves via UNDI.
Michael Brown2007-07-03 15:57:32 +01:00
2dc8ed1eb8
Work around Etherboot 5.4 bug when multiple packets are received.
Michael Brown2007-07-03 15:53:29 +01:00
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.
Michael Brown2007-07-03 15:36:29 +01:00
e436b993a9
Avoid double free on I/O buffer when rtl_transmit() returns failure.
Michael Brown2007-07-03 14:44:33 +01:00
0958726ebb
It's not just Etherboot that fails to generate TX completions.
Michael Brown2007-07-03 14:43:57 +01:00
5b52630a9c
Never attempt to route the broadcast address.
Michael Brown2007-07-03 13:55:45 +01:00
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.
Michael Brown2007-07-03 00:15:53 +01:00
071356d976
Ensure that pxe_netdev is set before starting up PXE NBP.
Michael Brown2007-07-03 00:02:26 +01:00
cbd956535e
Place netdev_open()/netdev_close() calls in appropriate places.
Michael Brown2007-07-03 00:02:06 +01:00
8f37a6a424
Add mechanism for providing TX completion events.
Michael Brown2007-07-02 23:49:00 +01:00
0297a63877
Merge branch 'master' of ssh://rom.etherboot.org/pub/scm/gpxe
Marty Connor2007-07-02 15:36:19 -04:00
332614a382
Add untested support for UNDI transmit and receive.
Michael Brown2007-07-02 20:05:58 +01:00
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).
Michael Brown2007-07-02 18:33:41 +01:00
5f17089b14
pxe_netdev now holds a reference to the network device.
Michael Brown2007-07-02 17:43:32 +01:00
8febe42f78
Build bochs with ne2000 support, and add sample lines in bochsrc.txt to match.
Michael Brown2007-07-02 03:14:27 +01:00
e3bbfd7a75
Call shutdown() from pxenv_undi_shutdown(). Probably not totally correct, but it's enough to get RIS working.
Michael Brown2007-07-02 03:12:35 +01:00
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.
Michael Brown2007-07-01 15:22:12 +01:00
3bf5eb49d0
Can't use strncpy() to copy strings that aren't NUL-terminated to begin with.
Michael Brown2007-07-01 03:22:28 +01:00
31fe5b9415
Hack together far enough to support ne2k-pci.
Michael Brown2007-07-01 00:37:29 +01:00
f33bbd4112
How has the legacy wrapper been working for the past month or so...?
Michael Brown2007-07-01 00:36:48 +01:00
b743b63ae9
DUMP_GDBSYM should not be enabled by default.
Michael Brown2007-07-01 00:05:36 +01:00
d5451d210c
Add ability to resolve relative symbols as well as locate absolute ones.
Michael Brown2007-06-30 22:59:15 +01:00
8f6a4e8140
Add gdbsym.c object to help with running gdb-to-qemu
Michael Brown2007-06-30 22:43:31 +01:00
e1646b4080
Place the actual version string in .data16, rather than just the pointer to it.
Michael Brown2007-06-30 21:36:54 +01:00
4472e22b5e
Implement the two UNDI API calls used by RIS.
Michael Brown2007-06-30 15:56:00 +01:00
d05d8edd42
Implement the "overwrite TFTP filename" Microsoft RIS bug workaround.
Michael Brown2007-06-30 15:13:18 +01:00
8130443f9f
Separate out pxe_start_nbp() from pxe_image.c into pxe_call.c
Michael Brown2007-06-30 14:56:35 +01:00
acd598b4f9
Don't build option-overloaded packets; they just confuse people (ISC DHCPD and Windows RIS in particular).
Michael Brown2007-06-30 01:32:53 +01:00
9125070f51
I really, really screwed up the semantics of BufferSize and BufferLimit.
Michael Brown2007-06-29 20:16:30 +01:00
40d6d3dcf4
Windows RIS now gets as far as downloading NTLDR.
Michael Brown2007-06-29 01:42:59 +01:00
03ca71c38d
Move stack to below 0x7c00; leaving it at the default location (0x7ef4) tends to really screw up anything that loads at 0x7c00...
Michael Brown2007-06-28 21:15:47 +01:00
f13baeb330
Added missing config.[ch] lines for FTP protocol
Michael Brown2007-06-28 18:49:57 +01:00
d465ae9785
Bugfix: iobuf->data always points to the start of the allocated portion, not to the bit we want to currently write to...
Michael Brown2007-06-28 18:38:50 +01:00
5de837cc67
Mildly ugly hack to force correct linkage.
Michael Brown2007-06-28 18:06:25 +01:00
e4c9c91d6e
Removed debugging statements that should not have been checked in.
Michael Brown2007-06-28 17:57:10 +01:00
4b08f4cf0f
Quick hack to get image booting working again
Michael Brown2007-06-28 17:55:29 +01:00
6209d20779
Added monojob controller in lieu of a full working shell.
Michael Brown2007-06-28 14:53:12 +01:00
cf33b568dc
Forgot to set initial session state. Now works!
Michael Brown2007-06-28 01:55:01 +01:00
73fe1ba9dd
Kill off job::start() (it was only ever added as part of an aborted attempt at triggering TCP-related protocols to start).
Michael Brown2007-06-28 01:09:45 +01:00
07dc294de8
Update DHCP to use data-xfer interface (not yet tested).
Michael Brown2007-06-27 23:20:36 +01:00
f77815f2b1
Kill off hotplug.h and just make net devices normal reference-counted structures.
Michael Brown2007-06-27 14:48:31 +01:00
e381714c07
Partial migration of UDP to data-xfer interface. (Will not link at present; DHCP is broken).
Michael Brown2007-06-20 01:13:35 +01:00