68add6e814
convert to zalloc
Holger Lubitz
2007-06-18 01:25:07 +02:00
5ce16b03a1
convert to zalloc
Holger Lubitz
2007-06-18 01:25:05 +02:00
7297f04481
convert to zalloc
Holger Lubitz
2007-06-18 01:25:03 +02:00
636bd2cd0a
convert to zalloc
Holger Lubitz
2007-06-18 01:25:00 +02:00
3414fd8df8
convert to zalloc
Holger Lubitz
2007-06-18 01:24:57 +02:00
a4bea78974
convert to zalloc
Holger Lubitz
2007-06-18 01:24:54 +02:00
6def8592ed
convert to zalloc
Holger Lubitz
2007-06-18 01:24:51 +02:00
75ff85441b
convert to zalloc
Holger Lubitz
2007-06-18 01:24:49 +02:00
f77d9469a4
convert to zalloc
Holger Lubitz
2007-06-18 01:24:46 +02:00
aca232c973
convert to zalloc
Holger Lubitz
2007-06-18 01:24:44 +02:00
6d0332b5b3
convert to zalloc
Holger Lubitz
2007-06-18 01:24:41 +02:00
c7549bcebe
convert to zalloc
Holger Lubitz
2007-06-18 01:24:34 +02:00
bb61774ee4
convert to zalloc
Holger Lubitz
2007-06-18 01:24:14 +02:00
934b70d62c
Apply global DHCP options when register_dhcp_options() is called. Do not apply DHCP options in dhcp_configure_netdev().
Michael Brown
2007-07-06 17:07:50 +01:00
311637503d
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
Michael Brown
2007-07-06 13:31:58 +01:00
bfc335faa8
Added PXENV_GET_FILE_SIZE.
Michael Brown
2007-07-06 13:31:40 +01:00
f660e8ef58
Add strlen_user() (will be needed for PXE API extensions)
Michael Brown
2007-07-06 13:07:10 +01:00
28d8d828b3
Rename .lilo extension to .lkrn and updated dependencies
Marty Connor
2007-07-06 08:04:06 -04:00
763a3eab8a
Add .pdsk target (padded .dsk, suitable for qemu).
Michael Brown
2007-07-05 23:37:17 +01:00
405be071de
Pad ROM images to 512 bytes, not powers of two
Michael Brown
2007-07-05 23:36:45 +01:00
fbda4837b0
Allocate heap at first usage, rather than assuming we can fit it in below _text. This should help with the gPXE-on-gPXE-via-PXE case.
Michael Brown
2007-07-05 22:30:34 +01:00
b3ca73c303
Remap EBADF to PXENV_STATUS_TFTP_FILE_NOT_FOUND; the only user is posix_io.c and this PXE error makes more sense in this context.
Michael Brown
2007-07-05 18:47:46 +01:00
1567b69895
Add concept of DHCP option applicators.
Michael Brown
2007-07-05 18:38:14 +01:00
d64e1be1f8
First draft of PXE extensions API.
Michael Brown
2007-07-05 18:03:09 +01:00
ed7eae6005
Use netdev_rx_err() to report receive errors.
Michael Brown
2007-07-05 17:23:03 +01:00
539ff45fd0
Allow recording of TX and RX errors to aid in end-user debugging.
Michael Brown
2007-07-05 17:18:27 +01:00
07ea125213
Use partition type 0xeb ("EtherBoot"), to avoid any attempts to mount the Etherboot partition.
Michael Brown
2007-07-05 14:20:55 +01:00
db1d99df39
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
Michael Brown
2007-07-05 14:15:58 +01:00
6e082c9b81
Add .usb target
Michael Brown
2007-07-05 14:15:43 +01:00
3487640397
Replace natsemi driver with Indolent's updated one that uses the gPXE API
Marty Connor
2007-07-05 08:54:12 -04:00
a0f078d7f5
Working with multi-sector reads
Michael Brown
2007-07-05 13:30:49 +01:00
66208dd65d
hdprefix that works for LBA only
Michael Brown
2007-07-05 12:58:16 +01:00
839960276d
Miscellaneous efficiency improvements, and extend read_sectors to handle multiple sectors.
Michael Brown
2007-07-05 12:36:39 +01:00
bdd1a0f462
Make masking constants unsigned, to avoid a gcc3-only compiler warning.
Michael Brown
2007-07-05 12:04:53 +01:00
8156f6bd19
Switch compiler warning on tcp_open() to a #warning
Michael Brown
2007-07-05 12:00:35 +01:00
1069a74d20
Warnings purge for via-velocity.[ch]
Marty Connor
2007-07-04 21:58:28 -04:00
b5311c2c88
This comment is no longer relevant.
Michael Brown
2007-07-03 20:39:47 +01:00
438d1cc0b9
Should be using the generic device probe mechanism, when (if) they eventually get updated.
Michael Brown
2007-07-03 20:39:30 +01:00
fae10a7ca1
We don't actually use the reset functions anywhere, and nothing really provides them.
Michael Brown
2007-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 Brown
2007-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 Brown
2007-07-03 20:09:14 +01:00
0924cf678e
Implemented (untested) PXENV_START_UNDI.
Michael Brown
2007-07-03 18:17:14 +01:00
30a442aef8
Report our interface type as "gPXE" to avoid working around Etherboot 5.4 bugs when driving ourselves via UNDI.
Michael Brown
2007-07-03 15:57:32 +01:00
2dc8ed1eb8
Work around Etherboot 5.4 bug when multiple packets are received.
Michael Brown
2007-07-03 15:53:29 +01:00
ca4bd3e24e
Kill off now-redundant _irq() methods.
Michael Brown
2007-07-03 15:37:56 +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 Brown
2007-07-03 15:36:29 +01:00
e436b993a9
Avoid double free on I/O buffer when rtl_transmit() returns failure.
Michael Brown
2007-07-03 14:44:33 +01:00
0958726ebb
It's not just Etherboot that fails to generate TX completions.
Michael Brown
2007-07-03 14:43:57 +01:00
5b52630a9c
Never attempt to route the broadcast address.
Michael Brown
2007-07-03 13:55:45 +01:00
adb3dd03e5
Document TX completion bug.
Michael Brown
2007-07-03 13:17:58 +01:00
71f500ff1b
Enable/disable interrupts in driver open/close.
Michael Brown
2007-07-03 12:50:58 +01:00
5f92f0bd82
Reserve space for link-layer header in pxenv_undi_transmit() when not handed a P_UNKNOWN packet.
Michael Brown
2007-07-03 04:05:30 +01:00
290280f90e
Enable/disable interrupts at open/close time.
Michael Brown
2007-07-03 03:34:08 +01:00
258afef751
Add missing call to free_iob() in pxenv_undi_isr().
Michael Brown
2007-07-03 00:57:53 +01:00
a2a0c2eace
Enable/disable interrupts on open/close.
Michael Brown
2007-07-03 00:57:04 +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 Brown
2007-07-03 00:15:53 +01:00
071356d976
Ensure that pxe_netdev is set before starting up PXE NBP.
Michael Brown
2007-07-03 00:02:26 +01:00
cbd956535e
Place netdev_open()/netdev_close() calls in appropriate places.
Michael Brown
2007-07-03 00:02:06 +01:00
8f37a6a424
Add mechanism for providing TX completion events.
Michael Brown
2007-07-02 23:49:00 +01:00
bf871c4d03
Warnings purge of src/core
Marty Connor
2007-07-02 15:26:40 -04:00
332614a382
Add untested support for UNDI transmit and receive.
Michael Brown
2007-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 Brown
2007-07-02 18:33:41 +01:00
5f17089b14
pxe_netdev now holds a reference to the network device.
Michael Brown
2007-07-02 17:43:32 +01:00
8febe42f78
Build bochs with ne2000 support, and add sample lines in bochsrc.txt to match.
Michael Brown
2007-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 Brown
2007-07-02 03:12:35 +01:00
d7e471f654
Improve debugging
Michael Brown
2007-07-01 22:04:19 +01:00