Michael Brown
286bf68faf
Added a very quick and dirty compatibility layer, to allow
not-yet-updated drivers to at least function.
19 gadus atpakaļ
Michael Brown
824d6ffa7f
Header rearrangement.
I want to get to the point where any header in include/ reflects a
standard user-level header (e.g. a POSIX header), while everything that's
specific to gPXE lives in include/gpxe/. Headers that reflect a Linux
header (e.g. if_ether.h) should also be in include/gpxe/, with the same
name as the Linux header and, preferably, the same names used for the
definitions.
19 gadus atpakaļ
Michael Brown
49f933fbc3
Moved if_ether.h and if_arp.h to include/gpxe, for consistency with Linux
kernel.
Removed obsolete struct arprequest from if_arp.h and put it in nic.c so
that nic.c will still compile. ARP will very shortly be handled by
net/arp.c instead.
19 gadus atpakaļ
Michael Brown
cbed5ed9ad
Always include code for sending multicast packets.
20 gadus atpakaļ
Michael Brown
be7897523d
IGMP protocol now uses the generic background protocol mechanism.
20 gadus atpakaļ
Geert Stappers
5265975334
patch of Helge Wagner
20 gadus atpakaļ
Michael Brown
0fe74493f4
Protocols now load data into a buffer; they don't execute it.
20 gadus atpakaļ
Michael Brown
a918abc036
Split TCP code out into proto/tcp.c
20 gadus atpakaļ
Michael Brown
f9f1d2c84c
More URL parsing moved into url.c
20 gadus atpakaļ
Michael Brown
552f33c663
Always request DNS server. DHCP handling will be generalised in future.
20 gadus atpakaļ
Michael Brown
167c26c92b
tftp functions moved to proto/tftp.c
20 gadus atpakaļ
Michael Brown
56825df041
loadkernel renamed to download_url, substantially restructured, and moved
to nic.c
20 gadus atpakaļ
Michael Brown
fda36a0c1a
Added back in the actual call to load().
20 gadus atpakaļ
Michael Brown
3b14360f5c
Renamed describe to describe_device for consistency
20 gadus atpakaļ
Michael Brown
98ff29345e
Created a bus/device API that allows for the ROM prefix to specify an
initial device, and will also allow for e.g. a device menu to be presented
to the user.
20 gadus atpakaļ
Michael Brown
e02c699a05
Fix endianness of dhcp device id structure.
20 gadus atpakaļ
Michael Brown
e27ebad4b2
Whoops
20 gadus atpakaļ
Michael Brown
f16ac2d87e
Fix type of dummy_irq()
20 gadus atpakaļ
Michael Brown
6e8878c1fa
Avoid compiler warnings.
20 gadus atpakaļ
Michael Brown
266dae4034
Use NIC's connect method.
20 gadus atpakaļ
Michael Brown
d9f34bfdfc
Add dummy_connect and dummy_irq
20 gadus atpakaļ
Michael Brown
1434e8d68d
struct nic is now part of struct dev, rather than the other way around.
Tie into new boot device framework.
20 gadus atpakaļ
Michael Brown
3d6123e69a
Initial revision
20 gadus atpakaļ