Commit Graph

  • 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
  • 5c31682674 Tie into new boot device framework. Michael Brown 2005-04-12 16:54:09 +00:00
  • 1434e8d68d struct nic is now part of struct dev, rather than the other way around. Michael Brown 2005-04-12 16:52:59 +00:00
  • 31410b1b5d Needs to be updated to new probe logic. Michael Brown 2005-04-12 16:51:26 +00:00
  • 236a195257 All code related to the device probe logic is ifdeffed 0 out. Michael Brown 2005-04-12 16:49:59 +00:00
  • bb293ca5c2 Global struct dev is now in main.c Michael Brown 2005-04-12 16:49:11 +00:00
  • 6f37dc410a print_drivers() is now unified. Michael Brown 2005-04-12 16:48:45 +00:00
  • daad093c40 Now obsolete. :) Michael Brown 2005-04-12 16:46:57 +00:00
  • 0effbefe6f All boot device drivers are now lumped together in boot_drivers Michael Brown 2005-04-12 16:46:15 +00:00
  • 6343381e25 Matches new pci.c interface. Michael Brown 2005-04-12 16:45:40 +00:00
  • 5603c879c4 Add INIT_PCIBIOS Michael Brown 2005-04-12 16:45:16 +00:00
  • 3095881c54 For pci_io.c Michael Brown 2005-04-12 16:44:50 +00:00
  • 3901d197f7 Replaced main loop with a trivial implementation so that we can try out the new probing logic. Michael Brown 2005-04-12 16:43:18 +00:00
  • 17aad49028 16-bit PCI BIOS interface also now known to work. Michael Brown 2005-04-12 16:42:14 +00:00
  • 45f96a49c7 main.c contains the global struct dev. Michael Brown 2005-04-12 16:39:03 +00:00
  • 5e807dffe6 Obsoleted by new device probing mechanism. Michael Brown 2005-04-12 16:38:38 +00:00
  • 17c1ca90e7 New device probing mechanism Michael Brown 2005-04-12 16:38:23 +00:00
  • 707720c4e5 New PCI scan functions now work. Michael Brown 2005-04-12 16:36:55 +00:00
  • bbcdf38214 Improved debug messages Michael Brown 2005-04-12 16:27:27 +00:00
  • ff53205d0d Should work for KEEP_IT_REAL as well now. Michael Brown 2005-04-12 13:35:31 +00:00
  • 0ccaf5bb83 Nearly there... Michael Brown 2005-04-12 13:31:36 +00:00
  • 67f122c645 Removed pci_find_device_x; it was too ugly to live. Michael Brown 2005-04-12 12:59:21 +00:00
  • 121e7386f6 New device probing mechanism written, not tested. Michael Brown 2005-04-11 19:19:35 +00:00
  • 7172d4abfb Moved functions that we want to keep to drivers/bus/pci.c Michael Brown 2005-04-11 13:45:00 +00:00