summaryrefslogtreecommitdiff
path: root/sys/arch/atari/dev
diff options
context:
space:
mode:
authorbouyer <bouyer@NetBSD.org>2012-07-31 15:50:31 +0000
committerbouyer <bouyer@NetBSD.org>2012-07-31 15:50:31 +0000
commitaee187e7a26ea9ba93b45c0bbcd0fdd490c6c497 (patch)
tree934c95ddcb0012348fd3eed617f4d0cb81445f12 /sys/arch/atari/dev
parentb2061654b40cbc50de035c4291bfd62bee95faa7 (diff)
Apply back changes that were reverted on Jul 24 and Jul 26 (general ata/wdc
cleanup and SATA PMP support), now that I'm back to fix the fallouts.
Diffstat (limited to 'sys/arch/atari/dev')
-rw-r--r--sys/arch/atari/dev/wdc_mb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/atari/dev/wdc_mb.c b/sys/arch/atari/dev/wdc_mb.c
index f330cd91653..8a8dbc920c6 100644
--- a/sys/arch/atari/dev/wdc_mb.c
+++ b/sys/arch/atari/dev/wdc_mb.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wdc_mb.c,v 1.37 2012/07/26 20:49:45 jakllsch Exp $ */
+/* $NetBSD: wdc_mb.c,v 1.38 2012/07/31 15:50:32 bouyer Exp $ */
/*-
* Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc_mb.c,v 1.37 2012/07/26 20:49:45 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc_mb.c,v 1.38 2012/07/31 15:50:32 bouyer Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -204,10 +204,10 @@ wdc_mb_attach(device_t parent, device_t self, void *aux)
sc->sc_chanlist[0] = &sc->sc_channel;
sc->sc_wdcdev.sc_atac.atac_channels = sc->sc_chanlist;
sc->sc_wdcdev.sc_atac.atac_nchannels = 1;
+ sc->sc_wdcdev.wdc_maxdrives = 2;
sc->sc_channel.ch_channel = 0;
sc->sc_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
sc->sc_channel.ch_queue = &sc->sc_chqueue;
- sc->sc_channel.ch_ndrive = 2;
wdc_init_shadow_regs(&sc->sc_channel);
/*