summaryrefslogtreecommitdiffstats
path: root/src/drivers/bus
Commit message (Collapse)AuthorAgeFilesLines
...
* Added soon-to-be-requisite missing include.Michael Brown2006-06-054-0/+4
|
* Strip down i386 PCI configuration space I/O to the bare minimum. AMichael Brown2006-05-171-11/+4Star
| | | | | | | | | | typical build will now include 880 bytes of PCI support code, compared to 2327 bytes in Etherboot 5.4. (There is a slight cost of around 5 extra bytes per access to a non-constant config space address; this should be an overall win. Driver-specific accesses will usually be to constant addresses, for which there is no additional cost.)
* Restructured PCI subsystem to fit the new device model.Michael Brown2006-05-162-298/+349
| | | | | | | | | | | | | | Generic PCI code now handles 64-bit BARs correctly when setting "membase"; drivers should need to call pci_bar_start() only if they want to use BARs other than the first memory or I/O BAR. Split rarely-used PCI functions out into pciextra.c. Core PCI code is now 662 bytes (down from 1308 bytes in Etherboot 5.4). 284 bytes of this saving comes from the pci/pciextra split. Cosmetic changes to lots of drivers (e.g. vendor_id->vendor in order to match the names used in Linux).
* 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.
* Merge from Etherboot 5.4Michael Brown2006-03-161-4/+5
|\
* | Some versions of doxygen seem to object to "@ret None" or similar.Michael Brown2005-05-241-19/+19
| |
* | Use "#var" rather than "@c var" for doxygen.Michael Brown2005-05-201-7/+7
| |
* | DoxygenationMichael Brown2005-05-191-58/+196
|/
* isa.c uses the new table infrastructure.Michael Brown2005-04-271-2/+2
|
* Add isapnp_max_csn to reduce scan time.Michael Brown2005-04-261-2/+20
|
* 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-255-63/+84
|
* Debug message fixes.Michael Brown2005-04-223-3/+7
|
* Need to leave structure zeroedMichael Brown2005-04-222-2/+2
|
* Must not go beyond end of driver's probe list.Michael Brown2005-04-221-1/+4
|
* ConsistencyMichael Brown2005-04-221-1/+1
|
* Fix up fill_mca_nic.Michael Brown2005-04-221-2/+1Star
|
* Added friendly enable/disable functionsMichael Brown2005-04-222-6/+7
|
* Updated all common buses to new API.Michael Brown2005-04-225-320/+452
|
* Tweaked API to minimise changes to existing drivers even further.Michael Brown2005-04-211-9/+9
|
* Created a bus/device API that allows for the ROM prefix to specify anMichael Brown2005-04-211-118/+135
| | | | | initial device, and will also allow for e.g. a device menu to be presented to the user.
* bswap_16() exists; no need to use __bswap_16()Michael Brown2005-04-211-2/+2
|
* 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-176-6/+10
|
* Place the call to adjust_pci_device() back in the individual drivers,Michael Brown2005-04-161-3/+0Star
| | | | | since we probably shouldn't be doing this to arbitrary devices during a PCI bus scan...
* Remove debugging call to getchar()Michael Brown2005-04-161-3/+0Star
|
* Now known to work with an old Adaptec 1505 that I found lying around.Michael Brown2005-04-161-23/+52
|
* ConsistencyMichael Brown2005-04-161-1/+2
|
* Speed up PCI bus scanning by skipping fns 1-7 if fn 0 is not present.Michael Brown2005-04-161-1/+22
|
* Read number of PCI buses returned by BIOS so that we can scan moreMichael Brown2005-04-161-0/+11
| | | | quickly.
* Improved debugging outputMichael Brown2005-04-163-7/+27
|
* Made debug messages more consistent.Michael Brown2005-04-162-4/+8
|
* Improved debug messages.Michael Brown2005-04-161-13/+13
| | | | Prevented find_pci_device() from being an endless loop.
* Make isa_probe_addr a simple integer rather than a struct, to facilitateMichael Brown2005-04-161-3/+6
| | | | specification of ISA_PROBE_ADDRS.
* Improve debug message legibility.Michael Brown2005-04-151-1/+1
|
* Need to do isolation when find_isapnp_device is first called,Michael Brown2005-04-151-8/+9
| | | | | | otherwise isapnp_max_csn is zero and we never call fill_isapnp_device. Fix debug message.
* Fix debug messageMichael Brown2005-04-151-8/+6Star
|
* We now correctly use logical devices.Michael Brown2005-04-151-87/+106
|
* Added debugging messages for activation/deactivation of logical devices.Michael Brown2005-04-151-0/+7
|
* Read current ioaddr and irqno from PnP registers.Michael Brown2005-04-151-2/+28
|
* Don't verify checksum except after serial isolationMichael Brown2005-04-151-10/+7Star
|
* Reduce binary size by factoring out common parameterised calls toMichael Brown2005-04-151-13/+19
| | | | udelay().
* Activation code now generalised as well.Michael Brown2005-04-151-150/+144Star
|
* Cleaned up isolation protocol.Michael Brown2005-04-151-196/+330
|
* Standardised debug message.Michael Brown2005-04-151-1/+1
|
* Standardised debug messages to make it easy to get a bus scan printoutMichael Brown2005-04-153-3/+4
| | | | (just build debugging versions of the relevant bus objects).
* Moved core/isapnp.c to drivers/bus/isapnp.cMichael Brown2005-04-151-0/+382
|
* Added a generalised ISA device-probing mechanism.Michael Brown2005-04-141-0/+123
|
* bus header files must include dev.h to get struct dev.Michael Brown2005-04-143-3/+0Star
|