aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ata/ata-isa.c
diff options
context:
space:
mode:
authorSøren Schmidt <sos@FreeBSD.org>2004-10-06 19:46:08 +0000
committerSøren Schmidt <sos@FreeBSD.org>2004-10-06 19:46:08 +0000
commit6192895db835a1e9a34444ca69db66565715f77f (patch)
tree35505cebf9f8bde09fbc920edb9ffd9f8f06201f /sys/dev/ata/ata-isa.c
parentdd12956ac7c81cacd8408c302f1f200b19f32bab (diff)
downloadsrc-6192895db835a1e9a34444ca69db66565715f77f.tar.gz
src-6192895db835a1e9a34444ca69db66565715f77f.zip
Fix the PC98 lockups on boot.
The interchannel locking for PC98 needed to be updated to match the rest of the locking in ATA.
Notes
Notes: svn path=/head/; revision=136198
Diffstat (limited to 'sys/dev/ata/ata-isa.c')
-rw-r--r--sys/dev/ata/ata-isa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-isa.c b/sys/dev/ata/ata-isa.c
index e7936434567a..4fadd2dc5349 100644
--- a/sys/dev/ata/ata-isa.c
+++ b/sys/dev/ata/ata-isa.c
@@ -58,9 +58,10 @@ static struct isa_pnp_id ata_ids[] = {
{0}
};
-static void
+static int
ata_isa_locknoop(struct ata_channel *ch, int type)
{
+ return ch->unit;
}
static void