1
0
mirror of https://github.com/ipxe/ipxe.git synced 2026-10-24 07:59:35 +03:00

Commit Graph

  • 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
  • 2ebc56f334 Moved in functions from old core/pci.c that we want to keep. Michael Brown 2005-04-11 13:43:53 +00:00
  • 95f755ad7f Renamed pci.c to pci_legacy.c in preparation for new bus managment infrastructure. Michael Brown 2005-04-11 13:25:41 +00:00
  • 63a0e0e2df Removed references to no-longer-existent CFLAGS options. Michael Brown 2005-04-11 10:17:00 +00:00
  • 5d96e5dad9 Changed guard name to avoid clash with INCLUDE_xxx namespace used by drivers. Michael Brown 2005-04-11 09:58:31 +00:00
  • 378c1b500c Cleaner separation of functionality between post_reloc and initialise_via_librm. Michael Brown 2005-04-11 09:24:10 +00:00
  • b9237160ad Almost all information in this file is now obsolete. Writing a new driver should, with the new build system, just be a case of writing the .c file and dropping it in place in drivers/net. :) Michael Brown 2005-04-10 23:45:55 +00:00
  • 34a0b5f16f initialise() doesn't take regs Michael Brown 2005-04-10 18:39:28 +00:00
  • 87508aa0b2 arch_initialise() is now sufficiently generic that we may as well just call it initialise() and place it in main.c. :) Michael Brown 2005-04-10 18:30:34 +00:00
  • 997b51c1e6 Use librm_arch_initialise for librm, arch_initialise for others. Michael Brown 2005-04-10 18:22:31 +00:00
  • 560027899e Heading towards a sane set of control functions Michael Brown 2005-04-10 18:21:53 +00:00
  • 39cb1b4f9e All the icky stuff is now taken care of by librm_arch_initialise Michael Brown 2005-04-10 18:21:27 +00:00
  • d189b84536 Fix up init ordering. Michael Brown 2005-04-10 18:20:38 +00:00
  • 3714946709 arch_rm_main no longer exists. Michael Brown 2005-04-10 18:19:59 +00:00
  • 1937b39079 Drag in relocate unless NORELOCATE is defined, since it's now called only via the initialisation function table. Michael Brown 2005-04-10 18:19:05 +00:00
  • f06e8c9707 Added post-relocation function table. Michael Brown 2005-04-10 18:18:37 +00:00
  • 9abceef561 Removed obsolete initialisation calls. Michael Brown 2005-04-10 18:13:24 +00:00
  • 070f6c0b6b Fixed debug messages Michael Brown 2005-04-10 16:58:19 +00:00