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