Commit Graph

27 Commits (bb61774ee4d8544f92333f898f4c01fe4c701c24)

Author SHA1 Message Date
Holger Lubitz bb61774ee4 convert to zalloc 2007-07-06 20:19:06 +02:00
Michael Brown 73b09ecba6 Use stdio.h instead of vsprintf.h 2007-01-19 01:13:12 +00:00
Michael Brown fdc97499bf Add device description fields to struct device. 2007-01-10 15:27:48 +00:00
Michael Brown 489a4004d7 Give UNDI device a more meaningful name. 2007-01-10 05:52:04 +00:00
Michael Brown dad5274522 Add "name" field to struct device to allow human-readable hardware device
names.

Add "dev" pointer in struct net_device to tie network interfaces back to a
hardware device.

Force natural alignment of data types in __table() macros.  This seems to
prevent gcc from taking the unilateral decision to occasionally increase
their alignment (which screws up the table packing).
2007-01-10 04:22:09 +00:00
Michael Brown 159930862f Added missing call to undinet_remove() 2007-01-09 03:08:01 +00:00
Michael Brown 6b09dd8244 undipci_probe() has to calculate busdevfn anyway, so we may as well pass
it directly to undi_load_pci().
2007-01-09 02:58:07 +00:00
Michael Brown f2f492a536 If preloaded device matches, use that rather than going via the UNDI
loader.
2007-01-09 02:32:06 +00:00
Michael Brown f08093b0d9 Remove spurious debug message 2007-01-08 03:37:32 +00:00
Michael Brown 07e5d4e3dc Added any-PCI-device UNDI driver 2007-01-08 03:34:47 +00:00
Michael Brown 36c1e1aa57 Renamed undi.c to undinet.c. (undi.c will become the UNDI PCI driver) 2007-01-08 02:02:07 +00:00
Michael Brown d3558fdd3a Remove accidentally checked-in code 2007-01-07 19:05:28 +00:00
Michael Brown 85a41b25fe Move START_UNDI, UNDI_STARTUP, UNDI_INITIALIZE and
UNDI_GET_INFORMATION calls into drivers/net/undi.c.  undi_probe() now
gets given a pxe_device representing a PXE stack that has been loaded
into memory but not initialised in any way.
2007-01-07 19:02:17 +00:00
Michael Brown 23cb837951 Remember to enable/disable the interrupt at the PIC.
Handle failures in undi_open() properly.
2007-01-07 13:31:39 +00:00
Michael Brown ef50ea0b2b Renamed undi_net.c to undi.c. 2007-01-04 19:43:35 +00:00
Michael Brown 6cf488dcf7 Obsolete; net driver functionality is now in undi_net.c and bus driver
functionality is now in pxebus.c.  (Not all bus functionality is ported
across yet.)
2007-01-04 19:42:05 +00:00
Marty Connor c4964c3e3a fix args to _disable routine 2006-09-19 15:01:16 +00:00
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.
2006-04-24 15:42:49 +00:00
Michael Brown ff8e46f2f3 #if 0 out the whole file for now; it cannot be linked because the base
memory interface has changed.
2005-05-03 11:56:33 +00:00
Michael Brown 3a7967a38a PCI_DRIVER changed 2005-04-26 12:20:05 +00:00
Michael Brown dbea213c27 Coerced into compiling. 2005-04-22 16:40:10 +00:00
Michael Brown 2c2154b169 Now compiles. 2005-04-15 16:52:28 +00:00
Michael Brown 44c7cc8c12 Standardised debug mechanism in place now. 2005-04-14 11:55:57 +00:00
Michael Brown e1d0cebfa8 Able to at least compile again now. 2005-04-12 19:11:42 +00:00
Michael Brown 90cf689810 Note basemem API change. 2005-04-09 15:56:03 +00:00
Michael Brown 0ff80b477d Merged mcb30-realmode-redesign back to HEAD 2005-04-08 15:01:17 +00:00
Michael Brown 3d6123e69a Initial revision 2005-03-08 18:53:11 +00:00