summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/drivers/net/undi.c
Commit message (Collapse)AuthorAgeFilesLines
* [bios] Add bin-x86_64-pcbios build platformMichael Brown2016-02-161-146/+0Star
| | | | | | | | | | | | | | Move most arch/i386 files to arch/x86, and adjust the contents of the Makefiles and the include/bits/*.h headers to reflect the new locations. This patch makes no substantive code changes, as can be seen using a rename-aware diff (e.g. "git show -M5"). This patch does not make the pcbios platform functional for x86_64; it merely allows it to compile without errors. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [pci] Provide PCI_CLASS() to calculate a scalar PCI class valueMichael Brown2015-05-081-1/+1
| | | | | | | | Rename PCI_CLASS() (which constructs a struct pci_class_id) to PCI_CLASS_ID(), and provide PCI_CLASS() as a macro which constructs the 24-bit scalar value of a PCI class code. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [pci] Allow drivers to specify a PCI classMichael Brown2015-02-021-5/+2Star
| | | | | | | | Allow drivers to specify a supported PCI class code. To save space in the final binary, make this an attribute of the driver rather than an attribute of a PCI device ID list entry. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Update FSF mailing address in GPL licence textsMichael Brown2012-07-201-1/+2
| | | | | Suggested-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [undi] Ensure that native drivers are tried before the UNDI PCI driverMichael Brown2011-11-111-1/+1
| | | | | Suggested-by: Alessandro Salvatori <sandr8@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [pci] Make driver PCI ID a property of the PCI deviceMichael Brown2011-02-171-2/+1Star
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [pci] Use single "busdevfn" field in struct pci_deviceMichael Brown2011-02-171-3/+4
| | | | | | | Merge the "bus" and "devfn" fields into a single "busdevfn" field, to match the format used by the majority of external code. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [build] Rename gPXE to iPXEMichael Brown2010-04-201-1/+1
| | | | | | | | | | | Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Add a selection of FILE_LICENCE declarationsMichael Brown2009-05-181-0/+2
| | | | | Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
* [pci] Add driver_data field to struct pci_device_idThomas Miletich2009-03-261-1/+1
| | | | | Modified-by: Michael Brown <mcb30@etherboot.org> Signed-off-by: Michael Brown <mcb30@etherboot.org>
* convert to zallocHolger Lubitz2007-07-061-2/+1Star
|
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-191-1/+1
|
* Add device description fields to struct device.Michael Brown2007-01-101-1/+2
|
* Give UNDI device a more meaningful name.Michael Brown2007-01-101-1/+1
|
* Add "name" field to struct device to allow human-readable hardware deviceMichael Brown2007-01-101-0/+3
| | | | | | | | | | | 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).
* Added missing call to undinet_remove()Michael Brown2007-01-091-0/+1
|
* undipci_probe() has to calculate busdevfn anyway, so we may as well passMichael Brown2007-01-091-2/+1Star
| | | | it directly to undi_load_pci().
* If preloaded device matches, use that rather than going via the UNDIMichael Brown2007-01-091-21/+46
| | | | loader.
* Remove spurious debug messageMichael Brown2007-01-081-1/+0Star
|
* Added any-PCI-device UNDI driverMichael Brown2007-01-081-0/+119
|
* Renamed undi.c to undinet.c. (undi.c will become the UNDI PCI driver)Michael Brown2007-01-081-660/+0Star
|
* Remove accidentally checked-in codeMichael Brown2007-01-071-5/+0Star
|
* Move START_UNDI, UNDI_STARTUP, UNDI_INITIALIZE andMichael Brown2007-01-071-58/+324
| | | | | | 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.
* Remember to enable/disable the interrupt at the PIC.Michael Brown2007-01-071-13/+27
| | | | Handle failures in undi_open() properly.
* Renamed undi_net.c to undi.c.Michael Brown2007-01-041-0/+385
|
* Obsolete; net driver functionality is now in undi_net.c and bus driverMichael Brown2007-01-041-1453/+0Star
| | | | | functionality is now in pxebus.c. (Not all bus functionality is ported across yet.)
* fix args to _disable routineMarty Connor2006-09-191-2/+1Star
|
* Header rearrangement.Michael Brown2006-04-241-1/+1
| | | | | | | | | 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.
* #if 0 out the whole file for now; it cannot be linked because the baseMichael Brown2005-05-031-1/+1
| | | | memory interface has changed.
* PCI_DRIVER changedMichael Brown2005-04-261-2/+1Star
|
* Coerced into compiling.Michael Brown2005-04-221-13/+13
|
* Now compiles.Michael Brown2005-04-151-19/+14Star
|
* Standardised debug mechanism in place now.Michael Brown2005-04-141-0/+1
|
* Able to at least compile again now.Michael Brown2005-04-121-50/+41Star
|
* Note basemem API change.Michael Brown2005-04-091-0/+10
|
* Merged mcb30-realmode-redesign back to HEADMichael Brown2005-04-081-1/+1
|
* Initial revisionMichael Brown2005-03-081-0/+1458