Michael Brown
|
1ddcdb0524
|
Added PREFIX_OBJECT() function to be able to easily prepend any string
to the object name in order to generate e.g. per-file variables.
|
20 vuotta sitten |
Michael Brown
|
3e5bf5fb06
|
console.c uses the generic table mechanism
|
20 vuotta sitten |
Michael Brown
|
241f426a85
|
Use new generic tables infrastructure
|
20 vuotta sitten |
Michael Brown
|
b9c9cee8a3
|
Added a generalised table infrastructure, so that we don't have to
keep adding new tables to each architecture's linker scripts.
|
20 vuotta sitten |
Michael Brown
|
fda36a0c1a
|
Added back in the actual call to load().
|
20 vuotta sitten |
Michael Brown
|
3dbdeb588f
|
ISA bus driver updated to report devices as present only if a driver
thinks they are.
Other bus drivers modified for consistency.
|
20 vuotta sitten |
Michael Brown
|
fcee25024f
|
BIOS floppy handling code moved to where it will really live.
|
20 vuotta sitten |
Michael Brown
|
3b14360f5c
|
Renamed describe to describe_device for consistency
|
20 vuotta sitten |
Michael Brown
|
5bace628ae
|
Added "name" field to bus structure.
|
20 vuotta sitten |
Michael Brown
|
f972f256e6
|
Allow for multiple debug levels
|
20 vuotta sitten |
Michael Brown
|
e59607bcb1
|
Should be an <= comparison, not a < comparison.
(Detected using "make symcheck" :)
|
20 vuotta sitten |
Michael Brown
|
1e156f537b
|
Consistency
|
20 vuotta sitten |
Michael Brown
|
3e8c2aa78b
|
Fix up fill_mca_nic.
|
20 vuotta sitten |
Michael Brown
|
97346a75f7
|
Added friendly enable/disable functions
|
20 vuotta sitten |
Michael Brown
|
924143661a
|
Updated all common buses to new API.
|
20 vuotta sitten |
Michael Brown
|
4e3ebba8e6
|
Revert debug message prefix back to none, since we sometimes want to use
DBG() several times to build up a line.
|
20 vuotta sitten |
Michael Brown
|
cfe3a663af
|
Tweaked API to minimise changes to existing drivers even further.
|
20 vuotta sitten |
Michael Brown
|
8153a0fa7e
|
Made macros more like the previous driver API, to minimise required
changes.
|
20 vuotta sitten |
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.
|
20 vuotta sitten |
Michael Brown
|
905ca1f21d
|
Force a standard format upon debug messages.
|
20 vuotta sitten |
Michael Brown
|
a95b458660
|
Trying to create a bus API.
|
20 vuotta sitten |
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.
|
20 vuotta sitten |
Michael Brown
|
a6057b4cbc
|
Need stddef.h to get size_t
|
20 vuotta sitten |
Michael Brown
|
f08516791e
|
printf and sprintf now defined in vsprintf.h, drag in console.h to get
putchar() as well.
|
20 vuotta sitten |
Michael Brown
|
664ffea697
|
Gave vsprintf.c its own header file, and made console.h include it.
|
20 vuotta sitten |
Michael Brown
|
063140864e
|
Automatically drag in console.h if DBG() is being defined as printf().
|
20 vuotta sitten |
Michael Brown
|
b7c55c3951
|
Avoid signed/unsigned warnings by explicitly making PCI_{BUS,DEV,FUNC}
all return unsigned quantities.
|
20 vuotta sitten |
Michael Brown
|
57070797e3
|
Optimise ISAPNP_READ_PORT_STEP
|
20 vuotta sitten |
Michael Brown
|
c659a54f70
|
Now known to work with an old Adaptec 1505 that I found lying around.
|
20 vuotta sitten |
Michael Brown
|
e29be5e342
|
Speed up PCI bus scanning by skipping fns 1-7 if fn 0 is not present.
|
20 vuotta sitten |
Michael Brown
|
6e5a3858bf
|
Read number of PCI buses returned by BIOS so that we can scan more
quickly.
|
20 vuotta sitten |
Michael Brown
|
9f02376409
|
Make isa_probe_addr a simple integer rather than a struct, to facilitate
specification of ISA_PROBE_ADDRS.
|
20 vuotta sitten |
Michael Brown
|
e6e43a2f2f
|
We now correctly use logical devices.
|
20 vuotta sitten |
Michael Brown
|
8e375c638d
|
Canonicalised tag names
|
20 vuotta sitten |
Michael Brown
|
05986a848f
|
Move the concept of logical devices inside the struct isapnp_device.
|
20 vuotta sitten |
Michael Brown
|
888277d2d1
|
Read current ioaddr and irqno from PnP registers.
|
20 vuotta sitten |
Michael Brown
|
85dd4fd8d6
|
Activation code now generalised as well.
|
20 vuotta sitten |
Michael Brown
|
1980018b8b
|
Cleaned up isolation protocol.
|
20 vuotta sitten |
Michael Brown
|
773d66e6dc
|
Typo
|
20 vuotta sitten |
Michael Brown
|
9eac705dd2
|
Added a generalised ISA device-probing mechanism.
|
20 vuotta sitten |
Michael Brown
|
2e309f9eec
|
Fix BOOT_DRIVER to assign unique and meaningful name to structure.
|
20 vuotta sitten |
Michael Brown
|
9183f2412e
|
bus header files must include dev.h to get struct dev.
|
20 vuotta sitten |
Michael Brown
|
104880ca19
|
Tweak API to allow separation of bus-scanning and device-probing logic.
|
20 vuotta sitten |
Michael Brown
|
ce8dea0dff
|
Separate out bus-scanning and device-probing logic.
|
20 vuotta sitten |
Michael Brown
|
1f26be34b8
|
Allow for multiple BOOT_DRIVER()s in the same file, provided that they
have different probe functions.
|
20 vuotta sitten |
Michael Brown
|
bc85cf756d
|
We need the ISA product ID mask available separately for 3c509.c.
|
20 vuotta sitten |
Michael Brown
|
dcd573afcb
|
Automatically create DBG() macro based on debug_<object> macro.
|
20 vuotta sitten |
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.
|
20 vuotta sitten |
Michael Brown
|
200b39a645
|
Extraced from 3c509.c
|
20 vuotta sitten |
Michael Brown
|
a4f1a058a4
|
Add EISA as a bus type.
|
20 vuotta sitten |