ae36de3d80Need to prevent intermediate targets from being deleted, otherwise the trick with "touch -B 2" doesn't work because the file that we're carefully timestamping just gets deleted anyway.
Michael Brown
2005-04-16 23:47:47 +0000
9c814cb123Use the correct case for -Ddebug_<object>
Michael Brown
2005-04-16 23:33:52 +0000
a666eb34b5Improved building of debugging objects. You can now specify a "DEBUG=" list for any build, e.g. make bin/pnic.dsk DEBUG=pci,pnic This will drag in debugging-enabled versions of pci.c and pnic.c.
Michael Brown
2005-04-16 23:28:36 +0000
5ca20abf95Place the call to adjust_pci_device() back in the individual drivers, since we probably shouldn't be doing this to arbitrary devices during a PCI bus scan...
Michael Brown
2005-04-16 17:30:37 +0000
b7c55c3951Avoid signed/unsigned warnings by explicitly making PCI_{BUS,DEV,FUNC} all return unsigned quantities.
Michael Brown
2005-04-16 17:09:52 +0000
66e54f1274...this time with the correct syntax. :(
Michael Brown
2005-04-16 14:54:11 +0000
8c2b42e08eAdded activate_isapnp_device() line
Michael Brown
2005-04-16 14:53:27 +0000
57070797e3Optimise ISAPNP_READ_PORT_STEP
Michael Brown
2005-04-16 14:50:41 +0000
86d2127204Remove debugging call to getchar()
Michael Brown
2005-04-16 14:42:48 +0000
c659a54f70Now known to work with an old Adaptec 1505 that I found lying around.
Michael Brown
2005-04-16 14:41:04 +0000
7bd3e883d7Consistency
Michael Brown
2005-04-16 11:43:16 +0000
e29be5e342Speed up PCI bus scanning by skipping fns 1-7 if fn 0 is not present.
Michael Brown
2005-04-16 11:42:56 +0000
6e5a3858bfRead number of PCI buses returned by BIOS so that we can scan more quickly.
Michael Brown
2005-04-16 11:16:31 +0000
e1a9798af4Improved debugging output
Michael Brown
2005-04-16 10:19:13 +0000
ed7b9109beMade debug messages more consistent.
Michael Brown
2005-04-16 10:04:56 +0000
211a607147Improved debug messages.
Michael Brown
2005-04-16 09:57:19 +0000
25d82dac7aCONFIG_PCI_DIRECT no longer exists
Michael Brown
2005-04-16 09:35:42 +0000
f25383f4c4Add ISA_PROBE_ADDRS list.
Michael Brown
2005-04-16 09:35:17 +0000
9f02376409Make 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 +0000
a60aadf9e9Improve debug message legibility.
Michael Brown
2005-04-15 17:09:47 +0000
f04b9cd3eaLeave some time to see what's going on.
Michael Brown
2005-04-15 17:06:54 +0000
8aa3b9d972Need 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 +0000
c41e89af41Fixed debug message
Michael Brown
2005-04-15 16:58:08 +0000
39cb4d8dbbFix debug message
Michael Brown
2005-04-15 16:56:18 +0000
2c2154b169Now compiles.
Michael Brown
2005-04-15 16:52:28 +0000
d26889cb04Don't even try to compile until the code is tidied up.
Michael Brown
2005-04-15 16:50:36 +0000
8c082aa468This at least compiles now. Haven't separated out the EMBEDDED code yet.
Michael Brown
2005-04-15 16:49:46 +0000
1bd7b97e5cNot sure why I made these cosmetic changes, but I appear to have done so.
Michael Brown
2005-04-15 16:30:35 +0000
f61fa0dc64Added "classical" ISA example.
Michael Brown
2005-04-15 16:28:14 +0000
897eeee4eeAdded EISA, ISAPnP and MCA examples.
Michael Brown
2005-04-15 16:18:56 +0000
38ea910098Updated to new PCI bus interface.
Michael Brown
2005-04-15 16:08:10 +0000
a26edc2eecUpdated to work with new ISAPnP bus code.
Michael Brown
2005-04-15 15:50:27 +0000
e6e43a2f2fWe now correctly use logical devices.
Michael Brown
2005-04-15 15:37:39 +0000
8e375c638dCanonicalised tag names
Michael Brown
2005-04-15 15:20:00 +0000
05986a848fMove the concept of logical devices inside the struct isapnp_device.
Michael Brown
2005-04-15 15:16:03 +0000
d11ea1e44bAdded debugging messages for activation/deactivation of logical devices.
Michael Brown
2005-04-15 14:31:08 +0000
888277d2d1Read current ioaddr and irqno from PnP registers.
Michael Brown
2005-04-15 14:27:49 +0000
ab443ba4b0Don't verify checksum except after serial isolation
Michael Brown
2005-04-15 13:54:44 +0000
120192e8d1Reduce binary size by factoring out common parameterised calls to udelay().
Michael Brown
2005-04-15 13:18:54 +0000
85dd4fd8d6Activation code now generalised as well.
Michael Brown
2005-04-15 13:07:25 +0000
1980018b8bCleaned up isolation protocol.
Michael Brown
2005-04-15 12:25:17 +0000
344ea224b4Standardised debug message.
Michael Brown
2005-04-14 23:43:34 +0000
ed92171527Standardised 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 +0000
c7694a5322Cleaner separation of find_t509_device/fill_t509_device.
Michael Brown
2005-04-14 23:20:56 +0000
f78fd79c16Moved core/isapnp.c to drivers/bus/isapnp.c
Michael Brown
2005-04-14 22:42:57 +0000
d5e1561fb8Updated to new ISA API, but this driver probably has deeper problems.
Michael Brown
2005-04-14 21:18:36 +0000
487574fc02This 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 +0000
8165c14e71Updated to general ISA bus API.
Michael Brown
2005-04-14 19:25:36 +0000
773d66e6dcTypo
Michael Brown
2005-04-14 19:10:17 +0000
a80fe976edUpdated to common ISA bus API.
Michael Brown
2005-04-14 19:07:53 +0000
9eac705dd2Added a generalised ISA device-probing mechanism.
Michael Brown
2005-04-14 18:46:43 +0000
e5b537fed0name should be const
Michael Brown
2005-04-14 17:52:27 +0000
cee678de7cFixed up automatic modifications by hand.
Michael Brown
2005-04-14 15:09:28 +0000
2c60617836Automatically modified by
Michael Brown
2005-04-14 15:00:05 +0000
393969a3f8Fix up the automatic modifications.
Michael Brown
2005-04-14 14:59:04 +0000
476dff5bb7Made amenable to automatic update.
Michael Brown
2005-04-14 14:49:32 +0000
cbd5d4f849This is the only driver that has a genuine reason to call find_pci_device() directly.
Michael Brown
2005-04-14 14:48:07 +0000
963dbefb51Automatically updated using
Michael Brown
2005-04-14 14:44:33 +0000
72fe23a76eUpdated to new device API.
Michael Brown
2005-04-14 14:31:11 +0000
2e309f9eecFix BOOT_DRIVER to assign unique and meaningful name to structure.
Michael Brown
2005-04-14 14:30:03 +0000
9183f2412ebus header files must include dev.h to get struct dev.
Michael Brown
2005-04-14 14:26:28 +0000
e0a8ee385eUpdated to current device API.
Michael Brown
2005-04-14 13:49:58 +0000
104880ca19Tweak API to allow separation of bus-scanning and device-probing logic.
Michael Brown
2005-04-14 13:44:07 +0000
ce8dea0dffSeparate out bus-scanning and device-probing logic.
Michael Brown
2005-04-14 13:33:03 +0000
4c0d5a0b71Split 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 +0000
1f26be34b8Allow for multiple BOOT_DRIVER()s in the same file, provided that they have different probe functions.
Michael Brown
2005-04-14 12:02:19 +0000
44c7cc8c12Standardised debug mechanism in place now.
Michael Brown
2005-04-14 11:55:57 +0000
e44e5c7247compiler.h is now always included on the command line.
Michael Brown
2005-04-14 11:50:26 +0000
bc85cf756dWe need the ISA product ID mask available separately for 3c509.c.
Michael Brown
2005-04-14 11:47:30 +0000
305daba48aAlways include compiler.h.
Michael Brown
2005-04-14 11:45:37 +0000
dcd573afcbAutomatically create DBG() macro based on debug_<object> macro.
Michael Brown
2005-04-14 11:35:45 +0000
75d864432cUse 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 +0000
0dc98309b2Stripped references to variables in C code.
Michael Brown
2005-04-13 13:48:26 +0000
e294a1ddceEISA support now provided by eisa.c MCA support now provided by mca.c
Michael Brown
2005-04-13 13:06:56 +0000
200b39a645Extraced from 3c509.c
Michael Brown
2005-04-13 12:45:38 +0000
a4f1a058a4Add EISA as a bus type.
Michael Brown
2005-04-13 12:20:59 +0000
4ae83f28f2Don't use htons, for compatibility with PCI :(
Michael Brown
2005-04-13 12:15:14 +0000
4ecbc63296Use __bswap_16, since we're not dealing with quantities to go onto the network.
Michael Brown
2005-04-13 12:11:21 +0000
5b8e549c83htons was used in ISAPnP code just due to ISAPnP storing bytes in reverse order.
Michael Brown
2005-04-13 12:06:33 +0000
9711f50e20Created 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 +0000
ac1c0a753dAdd MCA devices
Michael Brown
2005-04-13 03:00:50 +0000
677cda3263Minor fixups
Michael Brown
2005-04-13 03:00:30 +0000
1aee4e8001Extracted from 3c509.c
Michael Brown
2005-04-13 02:59:13 +0000
e27ebad4b2Whoops
Michael Brown
2005-04-13 02:05:43 +0000
7cc6366a84Finished by hand
Michael Brown
2005-04-13 02:02:08 +0000
951e305081Finished by hand
Michael Brown
2005-04-13 01:45:20 +0000
f39cc6d978Finished by hand
Michael Brown
2005-04-13 01:31:44 +0000
f16ac2d87eFix type of dummy_irq()
Michael Brown
2005-04-13 01:28:43 +0000
9848135950Finished by hand
Michael Brown
2005-04-13 01:01:33 +0000
3616de915eHand-finished
Michael Brown
2005-04-13 00:21:59 +0000
6e8878c1faAvoid compiler warnings.
Michael Brown
2005-04-13 00:19:01 +0000
266dae4034Use NIC's connect method.
Michael Brown
2005-04-13 00:18:35 +0000
17d69d8930Add mbps and duplex to struct nic, since some drivers (e.g. rtl8139) can fill them in.
Michael Brown
2005-04-13 00:16:42 +0000
28590d718bHand-finished
Michael Brown
2005-04-13 00:15:45 +0000
91e46ed588Automatically updated using
Michael Brown
2005-04-13 00:02:40 +0000
d9c64c9422Manual tweaks to get all drivers to follow the "disable, poll, transmit, irq" pattern.
Michael Brown
2005-04-12 23:47:52 +0000
881023e9caAutomatically updated using
Michael Brown
2005-04-12 23:39:16 +0000
c87ba23399Automatically updated using
Michael Brown
2005-04-12 23:31:37 +0000
bd9ae7cc70Automatically updated using
Michael Brown
2005-04-12 23:24:39 +0000
35e6f3e58aMinor regexp tweaks to catch degenerate cases.
Michael Brown
2005-04-12 23:13:54 +0000