Michael Brown
1949641d10
Fix compiler warnings that appear only on OpenBSD.
2007-12-06 14:16:46 -06:00
Michael Brown
798f7f6b8e
Kill off some warnings-problematic debug statements in ndp.c; the code
...
is non-functional anyway.
2007-12-07 01:51:08 +00:00
Michael Brown
6b0e147e0d
Don't complain when callers provide too-short buffers for
...
PXENV_GET_CACHED_INFO. NTLDR does this.
2007-12-07 01:06:37 +00:00
Michael Brown
698b5bc887
Fix a minor logical error in posix_io.c
2007-12-07 00:52:48 +00:00
Michael Brown
df868476e7
Various warnings fixups for OpenBSD with gcc-3.3.5.
2007-12-07 00:11:43 +00:00
Michael Brown
64787bad29
Fix prototype mismatch.
2007-12-06 23:35:37 +00:00
Michael Brown
be6ada2b7b
Add missing format qualifier
2007-12-06 21:38:23 +00:00
Marty Connor
82a3e80645
Add copyright, clean up comments a bit, remove unnecessary code.
...
Cleanups for e1000.c.
2007-12-03 01:17:41 -05:00
Michael Brown
1de705e30f
Reallocate memory for bitmaps only when necessary.
2007-11-29 19:10:10 +00:00
Michael Brown
423e9d72f3
udp_open_promisc() calls udp_open_common() with peer==NULL.
2007-11-28 11:56:14 +00:00
Michael Brown
3b1efba864
Add RFC2090 TFTP multicast support.
2007-11-28 10:57:26 +00:00
Michael Brown
f770744ee0
Quick hack to be able to accept transfers from servers that don't
...
supply options.
2007-11-25 16:06:29 +00:00
Marty Connor
7f1518b236
Merge branch 'mdc-working' of ssh://git.etherboot.org//pub/scm/people/mdc/gpxe
2007-11-23 21:54:26 -05:00
Michael Brown
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.
2007-11-22 04:43:11 +00:00
Michael Brown
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.
2007-11-22 00:31:21 +00:00
Michael Brown
b3abf25e3c
Allow DHCP server to instruct gPXE to ignore ProxyDHCP (which will
...
also avoid waiting for ProxyDHCP offers).
Also reduce the ProxyDHCP timeout, because it's already irritating me.
2007-11-21 22:10:04 +00:00
Michael Brown
0becbf5fba
Add ProxyDHCP support.
2007-11-21 21:51:43 +00:00
Marty Connor
fa0bd77270
Added netdev_nullify to natsemi_remove()
2007-11-21 15:45:08 +00:00
Michael Brown
de329a36d0
Removed old e1000 driver.
2007-11-21 15:37:58 +00:00
Michael Brown
b53ee1eb16
Merge commit 'origin/mdc-working'
2007-11-21 15:35:08 +00:00
Marty Connor
83c5a37aae
Added netdev_nullify to natsemi_remove()
2007-11-21 10:33:51 -05:00
Michael Brown
fb809da2df
Remove some assumptions about DHCP obtaining only a single options block.
2007-11-21 04:48:18 +00:00
Michael Brown
8d18338ae7
Add PXE-required DHCP options to DHCPDISCOVER and DHCPREQUEST packets.
2007-11-21 03:57:30 +00:00
Michael Brown
26f3a09ccf
Add UUID to DHCP request as option 97 (if available).
2007-11-21 03:29:53 +00:00
Marty Connor
2d60a3963f
Fixed receive instability by not enabling interrupts. duh.
...
I have successfully booted DOS via iSCSI and PXELINUX via TFTP with this
version of the e1000 driver.
2007-11-20 21:33:42 -05:00
Michael Brown
899f5b8ab2
Added definition of a UUID and uuid_ntoa() (for debugging), and
...
implemented smbios_get_uuid().
2007-11-21 02:27:07 +00:00
Michael Brown
68c438954d
Update SMBIOS internal API to be easier to use, and not to require
...
potentially exorbitant amounts of stack space.
2007-11-21 01:58:27 +00:00
Marty Connor
645a752bc2
This version now transmits and receives.
...
There may still be an issue with memory handling, since it seems to
die ungracefully when ARP packets come in after loading a kernel.
Something to debug.
2007-11-20 16:23:12 -05:00
Marty Connor
8973caa1e6
Autonegotiation fixes. NIC now autonegotiates to whatever the switch supports.
2007-11-20 12:06:22 -05:00
Marty Connor
e41550b0ba
A version of the new e1000 driver that transmits.
...
autonegotiation still needs work. receive is not working yet.
2007-11-20 10:23:32 -05:00
Michael Brown
89eaab79c8
Replace "Etherboot" strings with "gPXE".
2007-11-20 02:00:54 +00:00
Michael Brown
6855c357a5
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
2007-11-19 20:14:49 +00:00
Michael Brown
a1e243d504
Add bin/pci_VVVV_DDDD target to allow building ROM images without
...
needing to know the gPXE internal ROM name.
2007-11-19 20:14:20 +00:00
Marty Connor
8ce93f0876
Fix typo.
2007-11-18 11:12:54 -05:00
Marty Connor
e21391d7b5
Add e1000 directory to build, since the driver compiles cleanly.
2007-11-18 10:57:20 -05:00
Marty Connor
8b0d86914b
Rename e1000_main.c to e1000.c to so we can type 'make bin/e1000.dsk' instead of 'make bin/e1000_main.dsk'
2007-11-18 10:54:42 -05:00
Marty Connor
048a234dce
Add errfile definition for new e1000.c
2007-11-18 10:45:20 -05:00
Marty Connor
0fea19c398
Introduce files for new e1000 driver
2007-11-18 10:31:00 -05:00
Marty Connor
2b8f77aca1
Add src/drivers/net/e1000 as home of new e1000 driver
2007-11-18 10:28:25 -05:00
Marty Connor
8564711c20
Move current e1000 driver files to e1000-old/ directory to avoid collisions
2007-11-18 09:58:28 -05:00
Marty Connor
8bd670301c
Add ERRFILE information for e1000_main and e1000_hw, part of the new e1000 driver
...
It is likely we will rename e1000_main to e1000 when the new e1000 driver is debugged.
2007-11-18 09:51:21 -05:00
Marty Connor
9a4ed0f2d5
Remove unnecessary variable.
2007-11-18 03:11:02 -05:00
Michael Brown
c194b0c4bf
Work around a bug in the OpenSolaris iSCSI target.
...
We didn't specify values for MaxRecvDataSegmentLength and
MaxBurstLength (to save space, since we were happy with the
RFC-defined default values of 8kB and 256kB respectively). However,
the OpenSolaris target (incorrectly) assumes default values of zero
for these parameters.
The upshot was that the OpenSolaris target would get stuck in an
endless loop trying to send us the first 512-byte sector, zero bytes
at a time, and would eventually run out of memory and core-dump.
Fixed by explicitly specifying the default values for these two
parameters.
2007-11-05 13:29:05 +00:00
Michael Brown
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.
2007-11-04 04:27:38 +00:00
Michael Brown
c482fef058
Add missing attribute(packed) to two structures.
2007-10-29 21:22:00 +00:00
Michael Brown
82124ea688
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
2007-10-29 17:22:27 +00:00
Michael Brown
1620b3512c
Merge branch '3leaf'
2007-10-29 17:21:58 +00:00
Michael Brown
be7d32396f
Added one more PCI ID
2007-10-22 16:24:09 +01:00
Michael Brown
338d45a61e
Change ROM names to lower case.
2007-10-11 00:43:21 +01:00
Michael Brown
35ee7e4479
Ensure that empty e820 regions are skipped even at the end of the
...
memory map. (We achieve this by setting CF on the last entry if it is
zero-length; this avoids the need to look ahead to see at each entry
if the *next* entry would be both the last entry and zero-length).
This fixes the "0kB base memory" error message upon starting Windows
2003 on a SunFire X2100.
2007-10-10 20:13:34 +01:00