summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-07-22 14:58:54 +0000
committerwpaul <wpaul@FreeBSD.org>1999-07-22 14:58:54 +0000
commitc58e65cba584575d138f9763214a00740f5eac91 (patch)
tree0e87aafe68a478a71e78fb90da7d9a077779caf4
parent6f1b1c4c1118e13fe2c40cb41d74cab3ac1e1ee9 (diff)
downloadFreeBSD-src-c58e65cba584575d138f9763214a00740f5eac91.zip
FreeBSD-src-c58e65cba584575d138f9763214a00740f5eac91.tar.gz
Fix a small mind-o: one instance of SYS_RES_IOPORT should have been
SYS_RES_MEMOTY in sk_detatch().
-rw-r--r--sys/dev/sk/if_sk.c6
-rw-r--r--sys/pci/if_sk.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c
index 1b70993..e715593 100644
--- a/sys/dev/sk/if_sk.c
+++ b/sys/dev/sk/if_sk.c
@@ -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);
diff --git a/sys/pci/if_sk.c b/sys/pci/if_sk.c
index 1b70993..e715593 100644
--- a/sys/pci/if_sk.c
+++ b/sys/pci/if_sk.c
@@ -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);
OpenPOWER on IntegriCloud