ATA_USB will need to hook into the delayed boot identify to have
interrupts running, so externalize it.
This commit is contained in:
parent
8abafcd00f
commit
59de60dd73
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user