Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Boot-problems on G3 BW



Hi,

Oops, the patch I sent in my previous mail is for -current, not for
NetBSD 4. I attach a new version here for NetBSD 4; the file that
should be patched is in this case
src/sys/arch/macppc/macppc/autoconf.c.

Hope it helps!

--- autoconf.c.orig     2008-07-23 12:22:55.000000000 +0200
+++ autoconf.c  2008-07-23 12:23:41.000000000 +0200
@@ -341,7 +341,8 @@
                /* periph_target is target for scsi, drive # for atapi */
                if (addr != sa->sa_periph->periph_target)
                        return;
-       } else if (device_is_a(device_parent(device_parent(dev)), "pciide")) {
+       } else if (device_is_a(device_parent(device_parent(dev)), "pciide") ||
+                   device_is_a(device_parent(device_parent(dev)), "cmdide")) {
                struct ata_device *adev = aux;

                if (addr != adev->adev_drv_data->drive)


Regards,
Marco.

Attachment: autoconf.c.patch
Description: Binary data



Home | Main Index | Thread Index | Old Index