summaryrefslogtreecommitdiffstats
path: root/loader/loader.c
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-10-16 21:31:21 +0000
committerErik Troan <ewt@redhat.com>2001-10-16 21:31:21 +0000
commit54718cc5ca279e926a0bf2d5ec577a88f6d1fd16 (patch)
tree83d641ce78cfa5b1e69d506e56635fe424e00e9b /loader/loader.c
parentb722b21ae9b63699592590b4cd540fa2d11599e4 (diff)
downloadanaconda-54718cc5ca279e926a0bf2d5ec577a88f6d1fd16.tar.gz
anaconda-54718cc5ca279e926a0bf2d5ec577a88f6d1fd16.tar.xz
anaconda-54718cc5ca279e926a0bf2d5ec577a88f6d1fd16.zip
kudzu's pciReadDrivers() has somewhat strange semantics. The first time
it's called, it replces the current pci table, even if you've done previous probes (using the "default" driver table). This could change the semantics of loading drivers from the cd image; but if it does those semantics are already being used when we use driver disks.
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 19f09544f..0ee6a309f 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -2698,6 +2698,10 @@ int main(int argc, char ** argv) {
kdFindNetList(&kd, continuing ? 0 : CODE_PCMCIA);
#endif
+ /* we have to explicitly read this to let libkudzu know we want to
+ merge in future tables rather then replace the initial one */
+ pciReadDrivers("/modules/pcitable");
+
if (!continuing) {
if ((access("/proc/bus/pci/devices", R_OK) &&
access("/proc/openprom", R_OK)) || FL_MODDISK(flags)) {