diff options
Diffstat (limited to 'sys/dev/ata/ata-raid.h')
-rw-r--r-- | sys/dev/ata/ata-raid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-raid.h b/sys/dev/ata/ata-raid.h index 2b6ba54..9af598e 100644 --- a/sys/dev/ata/ata-raid.h +++ b/sys/dev/ata/ata-raid.h @@ -36,7 +36,7 @@ #define AR_WRITE 0x02 #define AR_WAIT 0x04 #define AR_STRATEGY(x) (x)->bio_disk->d_strategy((x)) -#define AD_SOFTC(x) ((struct ad_softc *)(x.device->driver)) +#define AD_SOFTC(x) ((struct ad_softc *)(x.device->softc)) #define ATA_MAGIC "FreeBSD ATA driver RAID " struct ar_disk { |