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