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