Michael Brown
3ab571006e
Yet another attempt to autodetect an appropriate "echo -e".
17 anni fa
Michael Brown
27b414da81
Ignore .echocheck internal housekeeping file.
17 anni fa
Michael Brown
a8bddfe153
Another (hopefully more robust) attempt to find a usable substitute
for "echo -e" on the host system.
17 anni fa
Michael Brown
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.
We don't currently need to override any of these values; if we need to
do so in future then the solution will probably be to always specify
the values on the ld command line, and have the linker script not
define them at all.
17 anni fa
Michael Brown
cf895a8c7c
Avoid Makefile syntax that requires make >= 3.81.
17 anni fa
Michael Brown
3b58fc0baf
Try to fix echo-detection to work on all systems that provide any
suitable "echo -e" substitute.
17 anni fa
Michael Brown
1949641d10
Fix compiler warnings that appear only on OpenBSD.
17 anni fa
Michael Brown
798f7f6b8e
Kill off some warnings-problematic debug statements in ndp.c; the code
is non-functional anyway.
17 anni fa
Michael Brown
6b0e147e0d
Don't complain when callers provide too-short buffers for
PXENV_GET_CACHED_INFO. NTLDR does this.
17 anni fa
Michael Brown
698b5bc887
Fix a minor logical error in posix_io.c
17 anni fa
Michael Brown
df868476e7
Various warnings fixups for OpenBSD with gcc-3.3.5.
17 anni fa
Michael Brown
64787bad29
Fix prototype mismatch.
17 anni fa
Michael Brown
be6ada2b7b
Add missing format qualifier
17 anni fa
Marty Connor
82a3e80645
Add copyright, clean up comments a bit, remove unnecessary code.
Cleanups for e1000.c.
17 anni fa
Michael Brown
1de705e30f
Reallocate memory for bitmaps only when necessary.
17 anni fa
Michael Brown
423e9d72f3
udp_open_promisc() calls udp_open_common() with peer==NULL.
17 anni fa
Michael Brown
3b1efba864
Add RFC2090 TFTP multicast support.
17 anni fa
Michael Brown
f770744ee0
Quick hack to be able to accept transfers from servers that don't
supply options.
17 anni fa
Marty Connor
7f1518b236
Merge branch 'mdc-working' of ssh://git.etherboot.org//pub/scm/people/mdc/gpxe
17 anni fa
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.
17 anni fa
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.
17 anni fa
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.
17 anni fa
Michael Brown
0becbf5fba
Add ProxyDHCP support.
17 anni fa
Marty Connor
fa0bd77270
Added netdev_nullify to natsemi_remove()
17 anni fa
Michael Brown
de329a36d0
Removed old e1000 driver.
17 anni fa
Michael Brown
b53ee1eb16
Merge commit 'origin/mdc-working'
17 anni fa
Marty Connor
83c5a37aae
Added netdev_nullify to natsemi_remove()
17 anni fa
Michael Brown
fb809da2df
Remove some assumptions about DHCP obtaining only a single options block.
17 anni fa
Michael Brown
8d18338ae7
Add PXE-required DHCP options to DHCPDISCOVER and DHCPREQUEST packets.
17 anni fa
Michael Brown
26f3a09ccf
Add UUID to DHCP request as option 97 (if available).
17 anni fa
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.
17 anni fa
Michael Brown
899f5b8ab2
Added definition of a UUID and uuid_ntoa() (for debugging), and
implemented smbios_get_uuid().
17 anni fa
Michael Brown
68c438954d
Update SMBIOS internal API to be easier to use, and not to require
potentially exorbitant amounts of stack space.
17 anni fa
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.
17 anni fa
Marty Connor
8973caa1e6
Autonegotiation fixes. NIC now autonegotiates to whatever the switch supports.
17 anni fa
Marty Connor
e41550b0ba
A version of the new e1000 driver that transmits.
autonegotiation still needs work. receive is not working yet.
17 anni fa
Michael Brown
89eaab79c8
Replace "Etherboot" strings with "gPXE".
17 anni fa
Michael Brown
6855c357a5
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
17 anni fa
Michael Brown
a1e243d504
Add bin/pci_VVVV_DDDD target to allow building ROM images without
needing to know the gPXE internal ROM name.
17 anni fa
Marty Connor
8ce93f0876
Fix typo.
17 anni fa
Marty Connor
e21391d7b5
Add e1000 directory to build, since the driver compiles cleanly.
17 anni fa
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'
17 anni fa
Marty Connor
048a234dce
Add errfile definition for new e1000.c
17 anni fa
Marty Connor
0fea19c398
Introduce files for new e1000 driver
17 anni fa
Marty Connor
2b8f77aca1
Add src/drivers/net/e1000 as home of new e1000 driver
17 anni fa
Marty Connor
8564711c20
Move current e1000 driver files to e1000-old/ directory to avoid collisions
17 anni fa
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.
17 anni fa
Marty Connor
9a4ed0f2d5
Remove unnecessary variable.
17 anni fa
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.
17 anni fa
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.
17 anni fa