990dde3a69
Rename Copyrights to COPYRIGHTS for consistency with other filenames
Marty Connor
2008-02-14 16:21:51 -05:00
c0c5f2989b
Add README file which replaces INSTALL and gives pointers to more information.
Marty Connor
2008-02-14 16:17:30 -05:00
c60050614a
Added mtnic driver provided by Mellanox.
Michael Brown
2008-02-13 15:01:18 +00:00
385b7a623d
Guard against corruption of top half of %esp during UNDI ISR
Michael Brown
2008-02-13 14:58:20 +00:00
c1006ffdb7
If no shell was requested via Ctrl-B, exit immediately if boot fails.
Michael Brown
2008-02-11 17:51:44 +00:00
40990465f1
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
Michael Brown
2008-02-11 16:33:37 +00:00
fc9f016be0
UNDI ISR: save and restore 32-bit registers
H. Peter Anvin
2008-02-08 16:19:02 -08:00
f8a0b5f682
Use internal 16-bit stack for added safety.
Michael Brown
2008-02-11 15:06:26 +00:00
9aec835541
undiisr.S: save/restore upper half of %eflags
H. Peter Anvin
2008-02-10 18:13:06 -08:00
621c2886aa
UNDI ISR: save and restore 32-bit registers
H. Peter Anvin
2008-02-08 16:19:02 -08:00
428c6342bc
Fixes for EqualLogic iSCSI targets:
Michael Brown
2008-02-07 22:46:26 +00:00
5e4e267177
Start restructuring pxe_tftp.c to cope with multicast (MTFTP) receives.
Michael Brown
2008-02-02 15:59:32 +00:00
105ebec4f3
Merge commit 'laptop/master'
Michael Brown
2008-01-22 18:57:01 +00:00
122abb50af
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
Michael Brown
2008-01-22 18:53:01 +00:00
c9c8cdeb8b
Add pxe_set_cached_filename() so that pxe_tftp.c can also update the stored DHCP packets.
Michael Brown
2008-01-22 18:51:12 +00:00
84f99f781e
Use XFER_INIT() macro.
Michael Brown
2008-01-22 18:50:24 +00:00
a2b4252d5a
Add XFER_INIT() macro.
Michael Brown
2008-01-22 18:48:47 +00:00
f6a8158eed
Make seek information part of the xfer metadata, rather than an entirely separate xfer method.
Michael Brown
2008-01-08 16:46:55 +00:00
74fd544101
Added the embedded pxelinux payload patch from hpa.
Michael Brown
2008-01-08 15:51:36 +00:00
3311169707
When the DHCP file/sname fields are empty, don't allow them to override their equivalent DHCP-option-specified values.
Michael Brown
2008-01-07 13:50:32 +00:00
de29e5a39c
Use .SECONDARY instead of .PRECIOUS for bin/%.tmp targets.
Michael Brown
2008-01-07 13:15:12 +00:00
82bae302b1
Fix off-by-one error (discovered by Shao Miller).
Michael Brown
2008-01-07 13:12:43 +00:00
a9b8197f64
Unconditionally set utility program variables in Makefile to allow CROSS_COMPILE to work.
Marty Connor
2008-01-02 12:50:30 -05:00
af56768e98
Retain some intermediate object files, suggested by Geert Stappers and Alexey Zaytsev.
Marty Connor
2007-12-28 14:33:11 -05:00
f3265b4bf8
Add preliminary support for MTFTP.
Michael Brown
2007-12-26 18:51:20 +00:00
bea8787a03
Kill off the now-obsolete *_fill_nic() functions.
Michael Brown
2007-12-15 19:40:55 +00:00
7e8624a26f
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
Michael Brown
2007-12-15 19:37:44 +00:00
5172d7b266
Autodetect whether or not we need to be using -fno-stack-protector.
Michael Brown
2007-12-15 19:37:21 +00:00
1d7974182e
Overwrite the device descriptor's IRQ number with whatever the legacy driver's probe() routine fills in in nic->irqno. This is so that non-interrupt-capable legacy drivers which set nic->irqno=0 will end up reporting IRQ#0 via PXENV_UNDI_GET_INFORMATION; this in turn means that the calling PXE NBP will (should) hook the timer interrupt, and everything will sort of work.
Michael Brown
2007-12-15 19:32:32 +00:00
bd2607305c
Correct e1000 interrupt routine to enable on 1 disable on 0. duh.
Marty Connor
2007-12-13 11:20:45 -05:00
1a867bfb39
Remove *_fill_nic() calls, and directly set nic->ioaddr and nic->irqno .
Marty Connor
2007-12-13 11:08:40 -05:00
9747c1a486
Remove the obsolete pre-aBFT AoE boot table.
Michael Brown
2007-12-12 14:32:02 +00:00
3ab571006e
Yet another attempt to autodetect an appropriate "echo -e".
Michael Brown
2007-12-07 14:25:02 -06:00
27b414da81
Ignore .echocheck internal housekeeping file.
Michael Brown
2007-12-08 00:51:24 +00:00
a8bddfe153
Another (hopefully more robust) attempt to find a usable substitute for "echo -e" on the host system.
Michael Brown
2007-12-08 00:50:57 +00:00
2c7a9e803c
Remove the (unused) option to override _prefix_link_addr, _textdata_link_addr, _load_addr and _max_align in the linker scripts. A bug in some versions of ld causes segfaults if the DEFINED() macro is used in a linker script *and* the -Map option to ld is present.
Michael Brown
2007-12-07 01:34:11 -06:00
cf895a8c7c
Avoid Makefile syntax that requires make >= 3.81.
Michael Brown
2007-12-07 04:14:06 +00:00
3b58fc0baf
Try to fix echo-detection to work on all systems that provide any suitable "echo -e" substitute.
Michael Brown
2007-12-07 03:35:32 +00:00
1949641d10
Fix compiler warnings that appear only on OpenBSD.
Michael Brown
2007-12-06 14:16:46 -06:00
798f7f6b8e
Kill off some warnings-problematic debug statements in ndp.c; the code is non-functional anyway.
Michael Brown
2007-12-07 01:51:08 +00:00
6b0e147e0d
Don't complain when callers provide too-short buffers for PXENV_GET_CACHED_INFO. NTLDR does this.
Michael Brown
2007-12-07 01:06:37 +00:00
698b5bc887
Fix a minor logical error in posix_io.c
Michael Brown
2007-12-07 00:52:48 +00:00
df868476e7
Various warnings fixups for OpenBSD with gcc-3.3.5.
Michael Brown
2007-12-07 00:11:43 +00:00
64787bad29
Fix prototype mismatch.
Michael Brown
2007-12-06 23:35:37 +00:00
be6ada2b7b
Add missing format qualifier
Michael Brown
2007-12-06 21:38:23 +00:00
82a3e80645
Add copyright, clean up comments a bit, remove unnecessary code.
Marty Connor
2007-12-03 01:17:14 -05:00
1de705e30f
Reallocate memory for bitmaps only when necessary.
Michael Brown
2007-11-29 19:10:10 +00:00
423e9d72f3
udp_open_promisc() calls udp_open_common() with peer==NULL.
Michael Brown
2007-11-28 11:56:14 +00:00
3b1efba864
Add RFC2090 TFTP multicast support.
Michael Brown
2007-11-28 10:57:26 +00:00
f770744ee0
Quick hack to be able to accept transfers from servers that don't supply options.
Michael Brown
2007-11-25 16:06:29 +00:00
838ecba131
Provide individually cached constructed copies of DHCP packets via PXENV_GET_CACHED_INFO. If we dont do this, Altiris' NBP screws up; it relies on being able to grab pointers to each of the three packets and then read them at will later.
Michael Brown
2007-11-22 04:43:11 +00:00
3a2473f123
Do not fill in the BufferLimit field in struct s_PXENV_GET_CACHED_INFO, because this field doesn't exist in earlier versions of the PXE spec, and some callers don't allocate space for it.
Michael Brown
2007-11-22 00:31:21 +00:00
b3abf25e3c
Allow DHCP server to instruct gPXE to ignore ProxyDHCP (which will also avoid waiting for ProxyDHCP offers).
Michael Brown
2007-11-21 22:10:04 +00:00
0becbf5fba
Add ProxyDHCP support.
Michael Brown
2007-11-21 21:51:43 +00:00
fa0bd77270
Added netdev_nullify to natsemi_remove()
Marty Connor
2007-11-21 10:33:51 -05:00
de329a36d0
Removed old e1000 driver.
Michael Brown
2007-11-21 15:37:58 +00:00
b53ee1eb16
Merge commit 'origin/mdc-working'
Michael Brown
2007-11-21 15:35:08 +00:00
83c5a37aae
Added netdev_nullify to natsemi_remove()
Marty Connor
2007-11-21 10:33:51 -05:00
fb809da2df
Remove some assumptions about DHCP obtaining only a single options block.
Michael Brown
2007-11-21 04:48:18 +00:00
8d18338ae7
Add PXE-required DHCP options to DHCPDISCOVER and DHCPREQUEST packets.
Michael Brown
2007-11-21 03:57:30 +00:00
26f3a09ccf
Add UUID to DHCP request as option 97 (if available).
Michael Brown
2007-11-21 03:29:53 +00:00
2d60a3963f
Fixed receive instability by not enabling interrupts. duh.
Marty Connor
2007-11-20 21:33:42 -05:00
899f5b8ab2
Added definition of a UUID and uuid_ntoa() (for debugging), and implemented smbios_get_uuid().
Michael Brown
2007-11-21 02:27:07 +00:00
68c438954d
Update SMBIOS internal API to be easier to use, and not to require potentially exorbitant amounts of stack space.
Michael Brown
2007-11-21 01:58:27 +00:00
645a752bc2
This version now transmits and receives.
Marty Connor
2007-11-20 16:23:12 -05:00
8973caa1e6
Autonegotiation fixes. NIC now autonegotiates to whatever the switch supports.
Marty Connor
2007-11-20 12:06:22 -05:00
e41550b0ba
A version of the new e1000 driver that transmits.
Marty Connor
2007-11-20 10:23:32 -05:00
89eaab79c8
Replace "Etherboot" strings with "gPXE".
Michael Brown
2007-11-20 02:00:54 +00:00
6855c357a5
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
Michael Brown
2007-11-19 20:14:49 +00:00
a1e243d504
Add bin/pci_VVVV_DDDD target to allow building ROM images without needing to know the gPXE internal ROM name.
Michael Brown
2007-11-19 20:14:20 +00:00
e21391d7b5
Add e1000 directory to build, since the driver compiles cleanly.
Marty Connor
2007-11-18 10:57:20 -05:00
8b0d86914b
Rename e1000_main.c to e1000.c to so we can type 'make bin/e1000.dsk' instead of 'make bin/e1000_main.dsk'
Marty Connor
2007-11-18 10:54:42 -05:00
048a234dce
Add errfile definition for new e1000.c
Marty Connor
2007-11-18 10:45:20 -05:00
0fea19c398
Introduce files for new e1000 driver
Marty Connor
2007-11-18 10:31:00 -05:00
2b8f77aca1
Add src/drivers/net/e1000 as home of new e1000 driver
Marty Connor
2007-11-18 10:28:25 -05:00
8564711c20
Move current e1000 driver files to e1000-old/ directory to avoid collisions
Marty Connor
2007-11-18 09:58:28 -05:00
8bd670301c
Add ERRFILE information for e1000_main and e1000_hw, part of the new e1000 driver
Marty Connor
2007-11-18 09:51:21 -05:00
c194b0c4bf
Work around a bug in the OpenSolaris iSCSI target.
Michael Brown
2007-11-05 13:29:05 +00:00
755cb8379d
Allow space for the kernel's real-mode .bss. Previously we weren't allowing any space for this, which makes it surprising that bzImage loading ever worked.
Michael Brown
2007-11-04 04:27:38 +00:00
c482fef058
Add missing attribute(packed) to two structures.
Michael Brown
2007-10-29 21:22:00 +00:00
82124ea688
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
Michael Brown
2007-10-29 17:22:27 +00:00
1620b3512c
Merge branch '3leaf'
Michael Brown
2007-10-29 17:21:58 +00:00
be7d32396f
Added one more PCI ID
Michael Brown
2007-10-22 16:24:09 +01:00
338d45a61e
Change ROM names to lower case.
Michael Brown
2007-10-11 00:43:21 +01:00