summaryrefslogtreecommitdiffstats
path: root/src/drivers/bus/isa.c
Commit message (Collapse)AuthorAgeFilesLines
* [isa] Avoid spurious compiler warning on gcc 4.7Michael Brown2012-07-201-3/+3
| | | | | | | | gcc 4.7 produces a spurious warning about an array subscript being out of bounds. Use a pointer dereference instead of an array lookup to inhibit this spurious warning. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [device] Make driver name a generic device propertyMichael Brown2011-04-081-0/+1
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [build] Rename gPXE to iPXEMichael Brown2010-04-201-2/+2
| | | | | | | | | | | 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.
* [tables] Redefine methods for accessing linker tablesMichael Brown2009-03-131-6/+1Star
| | | | | | | | | | | | | | | Intel's C compiler (icc) chokes on the zero-length arrays that we currently use as part of the mechanism for accessing linker table entries. Abstract away the zero-length arrays, to make a port to icc easier. Introduce macros such as for_each_table_entry() to simplify the common case of iterating over all entries in a linker table. Represent table names as #defined string constants rather than unquoted literals; this avoids visual confusion between table names and C variable or type names, and also allows us to force a compilation error in the event of incorrect table names.
* [isa] Fix a small typo in isa.c.Pantelis Koukousoulas2008-11-081-2/+2
| | | | | | | With this patch ISA drivers actually get probed so they have a fair chance of working now. Signed-off-by: Pantelis Koukousoulas <pktoss@gmail.com>
* [ioapi] Remove old io.h file and switch all users over to <gpxe/io.h>Michael Brown2008-10-121-1/+1
|
* Revert "convert to zalloc"Holger Lubitz2007-07-071-1/+2
| | | | This reverts commit 3414fd8df8c514947254fd065d407e8db115221f.
* convert to zallocHolger Lubitz2007-07-061-2/+1Star
|
* Updated ISAPnP, EISA, MCA and ISA buses to current device model.Michael Brown2007-03-101-128/+112Star
| | | | | | | ISA 3c509 is currently non-functional, although the EISA (3c509-eisa) and MCA (3c529) variants should build OK. None of this code is yet tested.
* Add "name" field to struct device to allow human-readable hardware deviceMichael Brown2007-01-101-2/+4
| | | | | | | | | | | 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 soon-to-be-requisite missing include.Michael Brown2006-06-051-0/+1
|
* isa.c uses the new table infrastructure.Michael Brown2005-04-271-2/+2
|
* ISA bus driver updated to report devices as present only if a driverMichael Brown2005-04-261-38/+52
| | | | | thinks they are. Other bus drivers modified for consistency.
* Added "name" field to bus structure.Michael Brown2005-04-251-7/+8
|
* Must not go beyond end of driver's probe list.Michael Brown2005-04-221-1/+4
|
* Updated all common buses to new API.Michael Brown2005-04-221-99/+117
|
* Fix BUILD_SERIAL.Michael Brown2005-04-181-4/+14
| | | | | Change from using #if to #ifdef, since #if can't cope with string constants.
* Move RELOCATE into config.hMichael Brown2005-04-181-3/+17
| | | | | Move ISA probe address logic from config.c into isa.c, create header file config/isa.h.
* Use only the header files that we needMichael Brown2005-04-171-1/+1
|
* Improved debugging outputMichael Brown2005-04-161-0/+2
|
* Make isa_probe_addr a simple integer rather than a struct, to facilitateMichael Brown2005-04-161-3/+6
| | | | specification of ISA_PROBE_ADDRS.
* Standardised debug message.Michael Brown2005-04-151-1/+1
|
* Added a generalised ISA device-probing mechanism.Michael Brown2005-04-141-0/+123