From bc8cdd2186c111c9793dfb56fc887d038a521f2b Mon Sep 17 00:00:00 2001 From: sos Date: Fri, 6 Dec 2002 19:29:53 +0000 Subject: Fix linking problem when atadisk is not use in ata-all.c Add dummy intr_func and lock_func to ata-card.c Dont call ad_print if the driver decided there is no disk. --- sys/dev/ata/ata-all.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/ata/ata-all.c') diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index e66a4ac..05984d5 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -611,7 +611,9 @@ ata_boot_attach(void) free(ata_delayed_attach, M_TEMP); ata_delayed_attach = NULL; } +#ifdef DEV_ATADISK ata_raid_attach(); +#endif } static void -- cgit v1.1