ed7b9109be
Made debug messages more consistent.
Michael Brown
2005-04-16 10:04:56 +00:00
211a607147
Improved debug messages.
Michael Brown
2005-04-16 09:57:19 +00:00
25d82dac7a
CONFIG_PCI_DIRECT no longer exists
Michael Brown
2005-04-16 09:35:42 +00:00
f25383f4c4
Add ISA_PROBE_ADDRS list.
Michael Brown
2005-04-16 09:35:17 +00:00
9f02376409
Make isa_probe_addr a simple integer rather than a struct, to facilitate specification of ISA_PROBE_ADDRS.
Michael Brown
2005-04-16 09:30:48 +00:00
a60aadf9e9
Improve debug message legibility.
Michael Brown
2005-04-15 17:09:47 +00:00
f04b9cd3ea
Leave some time to see what's going on.
Michael Brown
2005-04-15 17:06:54 +00:00
8aa3b9d972
Need to do isolation when find_isapnp_device is first called, otherwise isapnp_max_csn is zero and we never call fill_isapnp_device.
Michael Brown
2005-04-15 17:03:39 +00:00
c41e89af41
Fixed debug message
Michael Brown
2005-04-15 16:58:08 +00:00
39cb4d8dbb
Fix debug message
Michael Brown
2005-04-15 16:56:18 +00:00
2c2154b169
Now compiles.
Michael Brown
2005-04-15 16:52:28 +00:00
d26889cb04
Don't even try to compile until the code is tidied up.
Michael Brown
2005-04-15 16:50:36 +00:00
8c082aa468
This at least compiles now. Haven't separated out the EMBEDDED code yet.
Michael Brown
2005-04-15 16:49:46 +00:00
1bd7b97e5c
Not sure why I made these cosmetic changes, but I appear to have done so.
Michael Brown
2005-04-15 16:30:35 +00:00
f61fa0dc64
Added "classical" ISA example.
Michael Brown
2005-04-15 16:28:14 +00:00
897eeee4ee
Added EISA, ISAPnP and MCA examples.
Michael Brown
2005-04-15 16:18:56 +00:00
38ea910098
Updated to new PCI bus interface.
Michael Brown
2005-04-15 16:08:10 +00:00
a26edc2eec
Updated to work with new ISAPnP bus code.
Michael Brown
2005-04-15 15:50:27 +00:00
e6e43a2f2f
We now correctly use logical devices.
Michael Brown
2005-04-15 15:37:39 +00:00
8e375c638d
Canonicalised tag names
Michael Brown
2005-04-15 15:20:00 +00:00
05986a848f
Move the concept of logical devices inside the struct isapnp_device.
Michael Brown
2005-04-15 15:16:03 +00:00
d11ea1e44b
Added debugging messages for activation/deactivation of logical devices.
Michael Brown
2005-04-15 14:31:08 +00:00
888277d2d1
Read current ioaddr and irqno from PnP registers.
Michael Brown
2005-04-15 14:27:49 +00:00
ab443ba4b0
Don't verify checksum except after serial isolation
Michael Brown
2005-04-15 13:54:44 +00:00
120192e8d1
Reduce binary size by factoring out common parameterised calls to udelay().
Michael Brown
2005-04-15 13:18:54 +00:00
85dd4fd8d6
Activation code now generalised as well.
Michael Brown
2005-04-15 13:07:25 +00:00
1980018b8b
Cleaned up isolation protocol.
Michael Brown
2005-04-15 12:25:17 +00:00
344ea224b4
Standardised debug message.
Michael Brown
2005-04-14 23:43:34 +00:00
ed92171527
Standardised debug messages to make it easy to get a bus scan printout (just build debugging versions of the relevant bus objects).
Michael Brown
2005-04-14 23:32:36 +00:00
c7694a5322
Cleaner separation of find_t509_device/fill_t509_device.
Michael Brown
2005-04-14 23:20:56 +00:00
f78fd79c16
Moved core/isapnp.c to drivers/bus/isapnp.c
Michael Brown
2005-04-14 22:42:57 +00:00
d5e1561fb8
Updated to new ISA API, but this driver probably has deeper problems.
Michael Brown
2005-04-14 21:18:36 +00:00
487574fc02
This code is unbelievably ugly, has never been fixed up to work with relocation and (hence) presumably has not been used since Etherboot 5.0. Say bye-bye!
Michael Brown
2005-04-14 20:02:10 +00:00
8165c14e71
Updated to general ISA bus API.
Michael Brown
2005-04-14 19:25:36 +00:00
773d66e6dc
Typo
Michael Brown
2005-04-14 19:10:17 +00:00
a80fe976ed
Updated to common ISA bus API.
Michael Brown
2005-04-14 19:07:53 +00:00
9eac705dd2
Added a generalised ISA device-probing mechanism.
Michael Brown
2005-04-14 18:46:43 +00:00
e5b537fed0
name should be const
Michael Brown
2005-04-14 17:52:27 +00:00
cee678de7c
Fixed up automatic modifications by hand.
Michael Brown
2005-04-14 15:09:28 +00:00
2c60617836
Automatically modified by
Michael Brown
2005-04-14 15:00:05 +00:00
393969a3f8
Fix up the automatic modifications.
Michael Brown
2005-04-14 14:59:04 +00:00
476dff5bb7
Made amenable to automatic update.
Michael Brown
2005-04-14 14:49:32 +00:00
cbd5d4f849
This is the only driver that has a genuine reason to call find_pci_device() directly.
Michael Brown
2005-04-14 14:48:07 +00:00
963dbefb51
Automatically updated using
Michael Brown
2005-04-14 14:44:33 +00:00
72fe23a76e
Updated to new device API.
Michael Brown
2005-04-14 14:31:11 +00:00
2e309f9eec
Fix BOOT_DRIVER to assign unique and meaningful name to structure.
Michael Brown
2005-04-14 14:30:03 +00:00
9183f2412e
bus header files must include dev.h to get struct dev.
Michael Brown
2005-04-14 14:26:28 +00:00
e0a8ee385e
Updated to current device API.
Michael Brown
2005-04-14 13:49:58 +00:00
104880ca19
Tweak API to allow separation of bus-scanning and device-probing logic.
Michael Brown
2005-04-14 13:44:07 +00:00
ce8dea0dff
Separate out bus-scanning and device-probing logic.
Michael Brown
2005-04-14 13:33:03 +00:00
4c0d5a0b71
Split 3c509.c into 3c509.9 and 3c529.c, with shared code in 3c5x9.c. Probe mechanisms now use standard EISA and MCA bus methods, with 3c509.c defining a custom ISA bus to handle the 3c509 contention resolution logic.
Michael Brown
2005-04-14 12:23:12 +00:00
1f26be34b8
Allow for multiple BOOT_DRIVER()s in the same file, provided that they have different probe functions.
Michael Brown
2005-04-14 12:02:19 +00:00
44c7cc8c12
Standardised debug mechanism in place now.
Michael Brown
2005-04-14 11:55:57 +00:00
e44e5c7247
compiler.h is now always included on the command line.
Michael Brown
2005-04-14 11:50:26 +00:00
bc85cf756d
We need the ISA product ID mask available separately for 3c509.c.
Michael Brown
2005-04-14 11:47:30 +00:00
305daba48a
Always include compiler.h.
Michael Brown
2005-04-14 11:45:37 +00:00
dcd573afcb
Automatically create DBG() macro based on debug_<object> macro.
Michael Brown
2005-04-14 11:35:45 +00:00
75d864432c
Use the magic of common symbols to allow struct dev to effectively grow at link time to accommodate whatever bus objects are included.
Michael Brown
2005-04-14 10:10:54 +00:00
0dc98309b2
Stripped references to variables in C code.
Michael Brown
2005-04-13 13:48:26 +00:00
e294a1ddce
EISA support now provided by eisa.c MCA support now provided by mca.c
Michael Brown
2005-04-13 13:06:56 +00:00
200b39a645
Extraced from 3c509.c
Michael Brown
2005-04-13 12:45:38 +00:00
a4f1a058a4
Add EISA as a bus type.
Michael Brown
2005-04-13 12:20:59 +00:00
4ae83f28f2
Don't use htons, for compatibility with PCI :(
Michael Brown
2005-04-13 12:15:14 +00:00
4ecbc63296
Use __bswap_16, since we're not dealing with quantities to go onto the network.
Michael Brown
2005-04-13 12:11:21 +00:00
5b8e549c83
htons was used in ISAPnP code just due to ISAPnP storing bytes in reverse order.
Michael Brown
2005-04-13 12:06:33 +00:00
9711f50e20
Created separate isa_ids.h file and a utility function to print out ISA IDs in a human-readable format.
Michael Brown
2005-04-13 12:01:44 +00:00
ac1c0a753d
Add MCA devices
Michael Brown
2005-04-13 03:00:50 +00:00
677cda3263
Minor fixups
Michael Brown
2005-04-13 03:00:30 +00:00
1aee4e8001
Extracted from 3c509.c
Michael Brown
2005-04-13 02:59:13 +00:00
e27ebad4b2
Whoops
Michael Brown
2005-04-13 02:05:43 +00:00
7cc6366a84
Finished by hand
Michael Brown
2005-04-13 02:02:08 +00:00
951e305081
Finished by hand
Michael Brown
2005-04-13 01:45:20 +00:00
f39cc6d978
Finished by hand
Michael Brown
2005-04-13 01:31:44 +00:00
f16ac2d87e
Fix type of dummy_irq()
Michael Brown
2005-04-13 01:28:43 +00:00
9848135950
Finished by hand
Michael Brown
2005-04-13 01:01:33 +00:00
3616de915e
Hand-finished
Michael Brown
2005-04-13 00:21:59 +00:00
6e8878c1fa
Avoid compiler warnings.
Michael Brown
2005-04-13 00:19:01 +00:00
266dae4034
Use NIC's connect method.
Michael Brown
2005-04-13 00:18:35 +00:00
17d69d8930
Add mbps and duplex to struct nic, since some drivers (e.g. rtl8139) can fill them in.
Michael Brown
2005-04-13 00:16:42 +00:00
28590d718b
Hand-finished
Michael Brown
2005-04-13 00:15:45 +00:00
91e46ed588
Automatically updated using
Michael Brown
2005-04-13 00:02:40 +00:00
d9c64c9422
Manual tweaks to get all drivers to follow the "disable, poll, transmit, irq" pattern.
Michael Brown
2005-04-12 23:47:52 +00:00
881023e9ca
Automatically updated using
Michael Brown
2005-04-12 23:39:16 +00:00
c87ba23399
Automatically updated using
Michael Brown
2005-04-12 23:31:37 +00:00
bd9ae7cc70
Automatically updated using
Michael Brown
2005-04-12 23:24:39 +00:00
35e6f3e58a
Minor regexp tweaks to catch degenerate cases.
Michael Brown
2005-04-12 23:13:54 +00:00
4e3e389200
Auto-updated using
Michael Brown
2005-04-12 23:05:00 +00:00
241fb0f3cd
Use dev's print_info method to print standardised information about the boot device.
Michael Brown
2005-04-12 22:44:02 +00:00
95da907d5f
Add print_info method to dev_operations.
Michael Brown
2005-04-12 22:43:25 +00:00
c2a21744f6
We now record a pointer to the struct pci_device, since it's carried around in struct dev anyway.
Michael Brown
2005-04-12 22:42:52 +00:00
e1d0cebfa8
Able to at least compile again now.
Michael Brown
2005-04-12 19:11:42 +00:00
d9f34bfdfc
Add dummy_connect and dummy_irq
Michael Brown
2005-04-12 19:11:13 +00:00
81320fae4b
Remove debugging by default
Michael Brown
2005-04-12 18:32:20 +00:00
27a55b514c
Updated to new device API.
Michael Brown
2005-04-12 18:23:00 +00:00
1218698e01
Cope with nic.h being included before (or without) dev.h
Michael Brown
2005-04-12 18:21:38 +00:00
122b025293
Include dev.h, since several drivers just include nic.h
Michael Brown
2005-04-12 18:15:12 +00:00
8fa0e38233
Fixed up PCI-scanning code to use new PCI interface.
Michael Brown
2005-04-12 18:13:59 +00:00
3293c68488
Make adjust_pci_device global, since many drivers call it.
Michael Brown
2005-04-12 18:10:57 +00:00
762fa9a478
Fix up find_pci_device so that it can be used for scanning for devices *other* than the main boot device.
Michael Brown
2005-04-12 18:04:03 +00:00
eb8f730d63
Use pci_{vendor,device}_id instead of just pci_{vendor,device}, to avoid conflict with pci_device function.
Michael Brown
2005-04-12 17:56:23 +00:00