diff options
| author | Søren Schmidt <sos@FreeBSD.org> | 2003-08-24 09:22:26 +0000 |
|---|---|---|
| committer | Søren Schmidt <sos@FreeBSD.org> | 2003-08-24 09:22:26 +0000 |
| commit | 5fdbb0d2223a001af62a6f1bb28c3d6d57af1355 (patch) | |
| tree | fc8660c3fbead647641e9e7a6968b5a490dfd90f /sys/dev/ata/ata-raid.h | |
| parent | 578c5e121264d6cca9481b30b2ca521a79cd9378 (diff) | |
Notes
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 2b6ba54f1dbd..9af598eacf15 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 { |
