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.
|
2005-04-21 18:18:29 +00:00 |
|
Michael Brown
|
905ca1f21d
|
Force a standard format upon debug messages.
|
2005-04-21 18:16:54 +00:00 |
|
Michael Brown
|
a95b458660
|
Trying to create a bus API.
|
2005-04-20 00:29:12 +00:00 |
|
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.
|
2005-04-18 11:00:42 +00:00 |
|
Michael Brown
|
a6057b4cbc
|
Need stddef.h to get size_t
|
2005-04-17 10:48:56 +00:00 |
|
Michael Brown
|
f08516791e
|
printf and sprintf now defined in vsprintf.h, drag in console.h to get
putchar() as well.
|
2005-04-17 10:45:13 +00:00 |
|
Michael Brown
|
664ffea697
|
Gave vsprintf.c its own header file, and made console.h include it.
|
2005-04-17 10:44:26 +00:00 |
|
Michael Brown
|
063140864e
|
Automatically drag in console.h if DBG() is being defined as printf().
|
2005-04-17 10:25:06 +00:00 |
|
Michael Brown
|
b7c55c3951
|
Avoid signed/unsigned warnings by explicitly making PCI_{BUS,DEV,FUNC}
all return unsigned quantities.
|
2005-04-16 17:09:52 +00:00 |
|
Michael Brown
|
57070797e3
|
Optimise ISAPNP_READ_PORT_STEP
|
2005-04-16 14:50:41 +00:00 |
|
Michael Brown
|
c659a54f70
|
Now known to work with an old Adaptec 1505 that I found lying around.
|
2005-04-16 14:41:04 +00:00 |
|
Michael Brown
|
e29be5e342
|
Speed up PCI bus scanning by skipping fns 1-7 if fn 0 is not present.
|
2005-04-16 11:42:56 +00:00 |
|
Michael Brown
|
6e5a3858bf
|
Read number of PCI buses returned by BIOS so that we can scan more
quickly.
|
2005-04-16 11:16:31 +00:00 |
|
Michael Brown
|
9f02376409
|
Make isa_probe_addr a simple integer rather than a struct, to facilitate
specification of ISA_PROBE_ADDRS.
|
2005-04-16 09:30:48 +00:00 |
|
Michael Brown
|
e6e43a2f2f
|
We now correctly use logical devices.
|
2005-04-15 15:37:39 +00:00 |
|
Michael Brown
|
8e375c638d
|
Canonicalised tag names
|
2005-04-15 15:20:00 +00:00 |
|
Michael Brown
|
05986a848f
|
Move the concept of logical devices inside the struct isapnp_device.
|
2005-04-15 15:16:03 +00:00 |
|
Michael Brown
|
888277d2d1
|
Read current ioaddr and irqno from PnP registers.
|
2005-04-15 14:27:49 +00:00 |
|
Michael Brown
|
85dd4fd8d6
|
Activation code now generalised as well.
|
2005-04-15 13:07:25 +00:00 |
|
Michael Brown
|
1980018b8b
|
Cleaned up isolation protocol.
|
2005-04-15 12:25:17 +00:00 |
|
Michael Brown
|
773d66e6dc
|
Typo
|
2005-04-14 19:10:17 +00:00 |
|
Michael Brown
|
9eac705dd2
|
Added a generalised ISA device-probing mechanism.
|
2005-04-14 18:46:43 +00:00 |
|
Michael Brown
|
2e309f9eec
|
Fix BOOT_DRIVER to assign unique and meaningful name to structure.
|
2005-04-14 14:30:03 +00:00 |
|
Michael Brown
|
9183f2412e
|
bus header files must include dev.h to get struct dev.
|
2005-04-14 14:26:28 +00:00 |
|
Michael Brown
|
104880ca19
|
Tweak API to allow separation of bus-scanning and device-probing logic.
|
2005-04-14 13:44:07 +00:00 |
|
Michael Brown
|
ce8dea0dff
|
Separate out bus-scanning and device-probing logic.
|
2005-04-14 13:33:03 +00:00 |
|
Michael Brown
|
1f26be34b8
|
Allow for multiple BOOT_DRIVER()s in the same file, provided that they
have different probe functions.
|
2005-04-14 12:02:19 +00:00 |
|
Michael Brown
|
bc85cf756d
|
We need the ISA product ID mask available separately for 3c509.c.
|
2005-04-14 11:47:30 +00:00 |
|
Michael Brown
|
dcd573afcb
|
Automatically create DBG() macro based on debug_<object> macro.
|
2005-04-14 11:35:45 +00:00 |
|
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.
|
2005-04-14 10:10:54 +00:00 |
|
Michael Brown
|
200b39a645
|
Extraced from 3c509.c
|
2005-04-13 12:45:38 +00:00 |
|
Michael Brown
|
a4f1a058a4
|
Add EISA as a bus type.
|
2005-04-13 12:20:59 +00:00 |
|
Michael Brown
|
9711f50e20
|
Created separate isa_ids.h file and a utility function to print out ISA
IDs in a human-readable format.
|
2005-04-13 12:01:44 +00:00 |
|
Michael Brown
|
ac1c0a753d
|
Add MCA devices
|
2005-04-13 03:00:50 +00:00 |
|
Michael Brown
|
1aee4e8001
|
Extracted from 3c509.c
|
2005-04-13 02:59:13 +00:00 |
|
Michael Brown
|
f16ac2d87e
|
Fix type of dummy_irq()
|
2005-04-13 01:28:43 +00:00 |
|
Michael Brown
|
17d69d8930
|
Add mbps and duplex to struct nic, since some drivers (e.g. rtl8139)
can fill them in.
|
2005-04-13 00:16:42 +00:00 |
|
Michael Brown
|
95da907d5f
|
Add print_info method to dev_operations.
|
2005-04-12 22:43:25 +00:00 |
|
Michael Brown
|
d9f34bfdfc
|
Add dummy_connect and dummy_irq
|
2005-04-12 19:11:13 +00:00 |
|
Michael Brown
|
1218698e01
|
Cope with nic.h being included before (or without) dev.h
|
2005-04-12 18:21:38 +00:00 |
|
Michael Brown
|
122b025293
|
Include dev.h, since several drivers just include nic.h
|
2005-04-12 18:15:12 +00:00 |
|
Michael Brown
|
3293c68488
|
Make adjust_pci_device global, since many drivers call it.
|
2005-04-12 18:10:57 +00:00 |
|
Michael Brown
|
762fa9a478
|
Fix up find_pci_device so that it can be used for scanning for devices
*other* than the main boot device.
|
2005-04-12 18:04:03 +00:00 |
|
Michael Brown
|
5c31682674
|
Tie into new boot device framework.
|
2005-04-12 16:54:09 +00:00 |
|
Michael Brown
|
6343381e25
|
Matches new pci.c interface.
|
2005-04-12 16:45:40 +00:00 |
|
Michael Brown
|
5603c879c4
|
Add INIT_PCIBIOS
|
2005-04-12 16:45:16 +00:00 |
|
Michael Brown
|
45f96a49c7
|
main.c contains the global struct dev.
|
2005-04-12 16:39:03 +00:00 |
|
Michael Brown
|
17c1ca90e7
|
New device probing mechanism
|
2005-04-12 16:38:23 +00:00 |
|
Michael Brown
|
5d96e5dad9
|
Changed guard name to avoid clash with INCLUDE_xxx namespace used by
drivers.
|
2005-04-11 09:58:31 +00:00 |
|
Michael Brown
|
d189b84536
|
Fix up init ordering.
Make init function table name fixed; it's a static variable anyway.
|
2005-04-10 18:20:38 +00:00 |
|