Fix a small mind-o: one instance of SYS_RES_IOPORT should have been

SYS_RES_MEMOTY in sk_detatch().
This commit is contained in:
Bill Paul 1999-07-22 14:58:54 +00:00
parent dd09a74de7
commit 75156903c8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48987
2 changed files with 6 additions and 6 deletions

View File

@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: if_sk.c,v 1.51 1999/07/14 21:48:19 wpaul Exp $
* $Id: if_sk.c,v 1.5 1999/07/22 04:04:11 wpaul Exp $
*/
/*
@ -102,7 +102,7 @@
#ifndef lint
static const char rcsid[] =
"$Id: if_sk.c,v 1.51 1999/07/14 21:48:19 wpaul Exp $";
"$Id: if_sk.c,v 1.5 1999/07/22 04:04:11 wpaul Exp $";
#endif
static struct sk_type sk_devs[] = {
@ -1343,7 +1343,7 @@ static int sk_detach(dev)
#ifdef SK_USEIOSPACE
bus_release_resource(dev, SYS_RES_IOPORT, SK_PCI_LOIO, sc->sk_res);
#else
bus_release_resource(dev, SYS_RES_IOPORT, SK_PCI_LOMEM, sc->sk_res);
bus_release_resource(dev, SYS_RES_MEMORY, SK_PCI_LOMEM, sc->sk_res);
#endif
splx(s);

View File

@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: if_sk.c,v 1.51 1999/07/14 21:48:19 wpaul Exp $
* $Id: if_sk.c,v 1.5 1999/07/22 04:04:11 wpaul Exp $
*/
/*
@ -102,7 +102,7 @@
#ifndef lint
static const char rcsid[] =
"$Id: if_sk.c,v 1.51 1999/07/14 21:48:19 wpaul Exp $";
"$Id: if_sk.c,v 1.5 1999/07/22 04:04:11 wpaul Exp $";
#endif
static struct sk_type sk_devs[] = {
@ -1343,7 +1343,7 @@ static int sk_detach(dev)
#ifdef SK_USEIOSPACE
bus_release_resource(dev, SYS_RES_IOPORT, SK_PCI_LOIO, sc->sk_res);
#else
bus_release_resource(dev, SYS_RES_IOPORT, SK_PCI_LOMEM, sc->sk_res);
bus_release_resource(dev, SYS_RES_MEMORY, SK_PCI_LOMEM, sc->sk_res);
#endif
splx(s);