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