From e3bebe080a99dfb585f0edae7145420af03affb9 Mon Sep 17 00:00:00 2001 From: kiyohara Date: Wed, 19 Dec 2012 14:05:29 +0000 Subject: Restore spl before continue. --- sys/dev/ic/wdc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c index 6bd972a0371..ad2faa8082d 100644 --- a/sys/dev/ic/wdc.c +++ b/sys/dev/ic/wdc.c @@ -1,4 +1,4 @@ -/* $NetBSD: wdc.c,v 1.275 2012/11/19 22:22:56 rkujawa Exp $ */ +/* $NetBSD: wdc.c,v 1.276 2012/12/19 14:05:29 kiyohara Exp $ */ /* * Copyright (c) 1998, 2001, 2003 Manuel Bouyer. All rights reserved. @@ -58,7 +58,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.275 2012/11/19 22:22:56 rkujawa Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.276 2012/12/19 14:05:29 kiyohara Exp $"); #include "opt_ata.h" #include "opt_wdc.h" @@ -406,6 +406,7 @@ wdc_drvprobe(struct ata_channel *chp) if (chp->ch_drive[i].drive_type != ATA_DRIVET_ATA || (wdc->cap & WDC_CAPABILITY_PREATA) == 0) { chp->ch_drive[i].drive_type = ATA_DRIVET_NONE; + splx(s); continue; } splx(s); -- cgit