Michael Brown
|
3b14360f5c
|
Renamed describe to describe_device for consistency
|
vor 19 Jahren |
Michael Brown
|
5bace628ae
|
Added "name" field to bus structure.
|
vor 19 Jahren |
Michael Brown
|
f972f256e6
|
Allow for multiple debug levels
|
vor 19 Jahren |
Michael Brown
|
e59607bcb1
|
Should be an <= comparison, not a < comparison.
(Detected using "make symcheck" :)
|
vor 19 Jahren |
Michael Brown
|
1e156f537b
|
Consistency
|
vor 19 Jahren |
Michael Brown
|
3e8c2aa78b
|
Fix up fill_mca_nic.
|
vor 19 Jahren |
Michael Brown
|
97346a75f7
|
Added friendly enable/disable functions
|
vor 19 Jahren |
Michael Brown
|
924143661a
|
Updated all common buses to new API.
|
vor 19 Jahren |
Michael Brown
|
4e3ebba8e6
|
Revert debug message prefix back to none, since we sometimes want to use
DBG() several times to build up a line.
|
vor 19 Jahren |
Michael Brown
|
cfe3a663af
|
Tweaked API to minimise changes to existing drivers even further.
|
vor 19 Jahren |
Michael Brown
|
8153a0fa7e
|
Made macros more like the previous driver API, to minimise required
changes.
|
vor 19 Jahren |
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.
|
vor 19 Jahren |
Michael Brown
|
905ca1f21d
|
Force a standard format upon debug messages.
|
vor 19 Jahren |
Michael Brown
|
a95b458660
|
Trying to create a bus API.
|
vor 19 Jahren |
Michael Brown
|
85b00c4b72
|
Move RELOCATE into config.h
Move ISA probe address logic from config.c into isa.c, create header file
config/isa.h.
|
vor 19 Jahren |
Michael Brown
|
a6057b4cbc
|
Need stddef.h to get size_t
|
vor 19 Jahren |
Michael Brown
|
f08516791e
|
printf and sprintf now defined in vsprintf.h, drag in console.h to get
putchar() as well.
|
vor 19 Jahren |
Michael Brown
|
664ffea697
|
Gave vsprintf.c its own header file, and made console.h include it.
|
vor 19 Jahren |
Michael Brown
|
063140864e
|
Automatically drag in console.h if DBG() is being defined as printf().
|
vor 19 Jahren |
Michael Brown
|
b7c55c3951
|
Avoid signed/unsigned warnings by explicitly making PCI_{BUS,DEV,FUNC}
all return unsigned quantities.
|
vor 19 Jahren |
Michael Brown
|
57070797e3
|
Optimise ISAPNP_READ_PORT_STEP
|
vor 19 Jahren |
Michael Brown
|
c659a54f70
|
Now known to work with an old Adaptec 1505 that I found lying around.
|
vor 19 Jahren |
Michael Brown
|
e29be5e342
|
Speed up PCI bus scanning by skipping fns 1-7 if fn 0 is not present.
|
vor 19 Jahren |
Michael Brown
|
6e5a3858bf
|
Read number of PCI buses returned by BIOS so that we can scan more
quickly.
|
vor 19 Jahren |
Michael Brown
|
9f02376409
|
Make isa_probe_addr a simple integer rather than a struct, to facilitate
specification of ISA_PROBE_ADDRS.
|
vor 19 Jahren |
Michael Brown
|
e6e43a2f2f
|
We now correctly use logical devices.
|
vor 19 Jahren |
Michael Brown
|
8e375c638d
|
Canonicalised tag names
|
vor 19 Jahren |
Michael Brown
|
05986a848f
|
Move the concept of logical devices inside the struct isapnp_device.
|
vor 19 Jahren |
Michael Brown
|
888277d2d1
|
Read current ioaddr and irqno from PnP registers.
|
vor 19 Jahren |
Michael Brown
|
85dd4fd8d6
|
Activation code now generalised as well.
|
vor 19 Jahren |
Michael Brown
|
1980018b8b
|
Cleaned up isolation protocol.
|
vor 19 Jahren |
Michael Brown
|
773d66e6dc
|
Typo
|
vor 19 Jahren |
Michael Brown
|
9eac705dd2
|
Added a generalised ISA device-probing mechanism.
|
vor 19 Jahren |
Michael Brown
|
2e309f9eec
|
Fix BOOT_DRIVER to assign unique and meaningful name to structure.
|
vor 19 Jahren |
Michael Brown
|
9183f2412e
|
bus header files must include dev.h to get struct dev.
|
vor 19 Jahren |
Michael Brown
|
104880ca19
|
Tweak API to allow separation of bus-scanning and device-probing logic.
|
vor 19 Jahren |
Michael Brown
|
ce8dea0dff
|
Separate out bus-scanning and device-probing logic.
|
vor 19 Jahren |
Michael Brown
|
1f26be34b8
|
Allow for multiple BOOT_DRIVER()s in the same file, provided that they
have different probe functions.
|
vor 19 Jahren |
Michael Brown
|
bc85cf756d
|
We need the ISA product ID mask available separately for 3c509.c.
|
vor 19 Jahren |
Michael Brown
|
dcd573afcb
|
Automatically create DBG() macro based on debug_<object> macro.
|
vor 19 Jahren |
Michael Brown
|
75d864432c
|
Use the magic of common symbols to allow struct dev to effectively grow at
link time to accommodate whatever bus objects are included.
|
vor 19 Jahren |
Michael Brown
|
200b39a645
|
Extraced from 3c509.c
|
vor 19 Jahren |
Michael Brown
|
a4f1a058a4
|
Add EISA as a bus type.
|
vor 19 Jahren |
Michael Brown
|
9711f50e20
|
Created separate isa_ids.h file and a utility function to print out ISA
IDs in a human-readable format.
|
vor 19 Jahren |
Michael Brown
|
ac1c0a753d
|
Add MCA devices
|
vor 19 Jahren |
Michael Brown
|
1aee4e8001
|
Extracted from 3c509.c
|
vor 19 Jahren |
Michael Brown
|
f16ac2d87e
|
Fix type of dummy_irq()
|
vor 19 Jahren |
Michael Brown
|
17d69d8930
|
Add mbps and duplex to struct nic, since some drivers (e.g. rtl8139)
can fill them in.
|
vor 19 Jahren |
Michael Brown
|
95da907d5f
|
Add print_info method to dev_operations.
|
vor 19 Jahren |
Michael Brown
|
d9f34bfdfc
|
Add dummy_connect and dummy_irq
|
vor 19 Jahren |