summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxeMichael Brown2007-12-1530-51/+238
|\
| * Correct e1000 interrupt routine to enable on 1 disable on 0. duh.Marty Connor2007-12-131-2/+2
| | | | | | | | | | | | 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.
| * Remove *_fill_nic() calls, and directly set nic->ioaddr and nic->irqno .Marty Connor2007-12-1329-49/+236
| | | | | | | | | | | | | | | | | | | | 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).
* | Autodetect whether or not we need to be using -fno-stack-protector.Michael Brown2007-12-151-0/+8
| |
* | Overwrite the device descriptor's IRQ number with whatever the legacyMichael Brown2007-12-151-0/+8
|/ | | | | | | | 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.
* Remove the obsolete pre-aBFT AoE boot table.Michael Brown2007-12-121-30/+0Star
|
* Yet another attempt to autodetect an appropriate "echo -e".Michael Brown2007-12-072-11/+32
|
* Ignore .echocheck internal housekeeping file.Michael Brown2007-12-081-0/+1
|
* Another (hopefully more robust) attempt to find a usable substituteMichael Brown2007-12-082-26/+30
| | | | for "echo -e" on the host system.
* Remove the (unused) option to override _prefix_link_addr,Michael Brown2007-12-071-14/+4Star
| | | | | | | | | | | _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.
* Avoid Makefile syntax that requires make >= 3.81.Michael Brown2007-12-071-8/+14
|
* Try to fix echo-detection to work on all systems that provide anyMichael Brown2007-12-072-1/+17
| | | | suitable "echo -e" substitute.
* Fix compiler warnings that appear only on OpenBSD.Michael Brown2007-12-0613-31/+31
|
* Kill off some warnings-problematic debug statements in ndp.c; the codeMichael Brown2007-12-071-4/+2Star
| | | | is non-functional anyway.
* Don't complain when callers provide too-short buffers forMichael Brown2007-12-071-7/+6Star
| | | | PXENV_GET_CACHED_INFO. NTLDR does this.
* Fix a minor logical error in posix_io.cMichael Brown2007-12-071-1/+1
|
* Various warnings fixups for OpenBSD with gcc-3.3.5.Michael Brown2007-12-0717-37/+37
|
* Fix prototype mismatch.Michael Brown2007-12-071-2/+2
|
* Add missing format qualifierMichael Brown2007-12-061-1/+1
|
* Add copyright, clean up comments a bit, remove unnecessary code.Marty Connor2007-12-031-178/+102Star
| | | | Cleanups for e1000.c.
* Reallocate memory for bitmaps only when necessary.Michael Brown2007-11-291-7/+9
|
* udp_open_promisc() calls udp_open_common() with peer==NULL.Michael Brown2007-11-281-2/+3
|
* Add RFC2090 TFTP multicast support.Michael Brown2007-11-284-82/+481
|
* Quick hack to be able to accept transfers from servers that don'tMichael Brown2007-11-251-0/+2
| | | | supply options.
* Provide individually cached constructed copies of DHCP packets viaMichael Brown2007-11-221-86/+109
| | | | | | 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.
* Do not fill in the BufferLimit field in structMichael Brown2007-11-221-3/+32
| | | | | 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.
* Allow DHCP server to instruct gPXE to ignore ProxyDHCP (which willMichael Brown2007-11-212-9/+24
| | | | | | also avoid waiting for ProxyDHCP offers). Also reduce the ProxyDHCP timeout, because it's already irritating me.
* Add ProxyDHCP support.Michael Brown2007-11-212-26/+59
|
* Added netdev_nullify to natsemi_remove()Marty Connor2007-11-211-0/+1
|
* Removed old e1000 driver.Michael Brown2007-11-212-5800/+0Star
|
* Merge commit 'origin/mdc-working'Michael Brown2007-11-219-1/+14104
|\
| * Fixed receive instability by not enabling interrupts. duh.Marty Connor2007-11-212-19/+27
| | | | | | | | | | I have successfully booted DOS via iSCSI and PXELINUX via TFTP with this version of the e1000 driver.
| * This version now transmits and receives.Marty Connor2007-11-202-220/+138Star
| | | | | | | | | | | | 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.
| * Autonegotiation fixes. NIC now autonegotiates to whatever the switch supports.Marty Connor2007-11-203-18/+22
| |
| * A version of the new e1000 driver that transmits.Marty Connor2007-11-203-254/+351
| | | | | | | | autonegotiation still needs work. receive is not working yet.
| * Fix typo.Marty Connor2007-11-181-2/+1Star
| |
| * Add e1000 directory to build, since the driver compiles cleanly.Marty Connor2007-11-181-0/+1
| |
| * Rename e1000_main.c to e1000.c to so we can type 'make bin/e1000.dsk' ↵Marty Connor2007-11-181-0/+0
| | | | | | | | instead of 'make bin/e1000_main.dsk'
| * Add errfile definition for new e1000.cMarty Connor2007-11-181-2/+1Star
| |
| * Introduce files for new e1000 driverMarty Connor2007-11-187-5800/+14074
| |
| * Add src/drivers/net/e1000 as home of new e1000 driverMarty Connor2007-11-181-0/+1
| |
| * Move current e1000 driver files to e1000-old/ directory to avoid collisionsMarty Connor2007-11-182-0/+5800
| |
| * Add ERRFILE information for e1000_main and e1000_hw, part of the new e1000 ↵Marty Connor2007-11-181-0/+2
| | | | | | | | | | | | driver It is likely we will rename e1000_main to e1000 when the new e1000 driver is debugged.
* | Remove some assumptions about DHCP obtaining only a single options block.Michael Brown2007-11-214-14/+23
| |
* | Add PXE-required DHCP options to DHCPDISCOVER and DHCPREQUEST packets.Michael Brown2007-11-212-10/+31
| |
* | Add UUID to DHCP request as option 97 (if available).Michael Brown2007-11-215-0/+30
| |
* | Added definition of a UUID and uuid_ntoa() (for debugging), andMichael Brown2007-11-214-19/+89
| | | | | | | | implemented smbios_get_uuid().
* | Update SMBIOS internal API to be easier to use, and not to requireMichael Brown2007-11-212-101/+214
| | | | | | | | potentially exorbitant amounts of stack space.
* | Replace "Etherboot" strings with "gPXE".Michael Brown2007-11-201-4/+4
| |
* | Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxeMichael Brown2007-11-192-4/+1Star
|\|