diff options
author | sos <sos@FreeBSD.org> | 2006-03-08 16:39:01 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2006-03-08 16:39:01 +0000 |
commit | 6835aad53cb19d358930e5b7cd187a7b63ea20f6 (patch) | |
tree | 88610b2506be249e58aa72dfca8343aa7e10a482 | |
parent | 41901a139a259c2e2a0776d2af6331953c44ec90 (diff) | |
download | FreeBSD-src-6835aad53cb19d358930e5b7cd187a7b63ea20f6.zip FreeBSD-src-6835aad53cb19d358930e5b7cd187a7b63ea20f6.tar.gz |
ATA_USB will need to hook into the delayed boot identify to have
interrupts running, so externalize it.
-rw-r--r-- | sys/dev/ata/ata-all.c | 2 | ||||
-rw-r--r-- | sys/dev/ata/ata-all.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index f1f1a25..c9f90ff 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -73,13 +73,13 @@ static void bpack(int8_t *, int8_t *, int); /* global vars */ MALLOC_DEFINE(M_ATA, "ata_generic", "ATA driver generic layer"); int (*ata_raid_ioctl_func)(u_long cmd, caddr_t data) = NULL; +struct intr_config_hook *ata_delayed_attach = NULL; devclass_t ata_devclass; uma_zone_t ata_request_zone; uma_zone_t ata_composite_zone; int ata_wc = 1; /* local vars */ -static struct intr_config_hook *ata_delayed_attach = NULL; static int ata_dma = 1; static int atapi_dma = 1; diff --git a/sys/dev/ata/ata-all.h b/sys/dev/ata/ata-all.h index 4361824..2bd3e37 100644 --- a/sys/dev/ata/ata-all.h +++ b/sys/dev/ata/ata-all.h @@ -527,6 +527,7 @@ struct ata_channel { /* externs */ extern int (*ata_raid_ioctl_func)(u_long cmd, caddr_t data); +extern struct intr_config_hook *ata_delayed_attach; extern devclass_t ata_devclass; extern int ata_wc; |