summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>2000-03-10 10:34:36 +0000
committerkato <kato@FreeBSD.org>2000-03-10 10:34:36 +0000
commitc1bc26dd28c1c44d0c78477336ae39e688bb3bf2 (patch)
tree650c83289d7ce873e56acacc0cb81235fa306c5f /sys
parentedd69da639130f0e97e6d966fa0372ef8320e599 (diff)
downloadFreeBSD-src-c1bc26dd28c1c44d0c78477336ae39e688bb3bf2.zip
FreeBSD-src-c1bc26dd28c1c44d0c78477336ae39e688bb3bf2.tar.gz
Merged from sys/isa/sio.c revisions 1.289 and 1.290.
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/cbus/sio.c3
-rw-r--r--sys/pc98/pc98/sio.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c
index 4027e7e..b2885ba 100644
--- a/sys/pc98/cbus/sio.c
+++ b/sys/pc98/cbus/sio.c
@@ -980,6 +980,7 @@ static struct isa_pnp_id sio_ids[] = {
{0x6045f435, NULL}, /* MOT4560 - Motorola ? */
{0x61e7a338, NULL}, /* NECE761 - 33.6Modem */
{0x39804f3f, NULL}, /* OZO8039 - Zoom 56k flex */
+ {0x3024a341, NULL}, /* PMC2430 - Pace 56 Voice Internal Modem */
{0x1000eb49, NULL}, /* ROK0010 - Rockwell ? */
{0x5002734a, NULL}, /* RSS0250 - 5614Jx3(G) Internal Modem */
{0xc100ad4d, NULL}, /* SMM00C1 - Leopard 56k PnP */
@@ -1743,7 +1744,6 @@ sioattach(dev)
com->it_in.c_ispeed = com->it_in.c_ospeed = TTYDEF_SPEED;
if (siosetwater(com, com->it_in.c_ispeed) != 0) {
enable_intr();
- free(com, M_DEVBUF);
/*
* Leave i/o resources allocated if this is a `cn'-level
* console, so that other devices can't snarf them.
@@ -2282,7 +2282,6 @@ sioclose(dev, flag, mode, p)
if (com->ibuf != NULL)
free(com->ibuf, M_DEVBUF);
bzero(tp, sizeof *tp);
- free(com, M_DEVBUF);
splx(s);
}
return (0);
diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c
index 4027e7e..b2885ba 100644
--- a/sys/pc98/pc98/sio.c
+++ b/sys/pc98/pc98/sio.c
@@ -980,6 +980,7 @@ static struct isa_pnp_id sio_ids[] = {
{0x6045f435, NULL}, /* MOT4560 - Motorola ? */
{0x61e7a338, NULL}, /* NECE761 - 33.6Modem */
{0x39804f3f, NULL}, /* OZO8039 - Zoom 56k flex */
+ {0x3024a341, NULL}, /* PMC2430 - Pace 56 Voice Internal Modem */
{0x1000eb49, NULL}, /* ROK0010 - Rockwell ? */
{0x5002734a, NULL}, /* RSS0250 - 5614Jx3(G) Internal Modem */
{0xc100ad4d, NULL}, /* SMM00C1 - Leopard 56k PnP */
@@ -1743,7 +1744,6 @@ sioattach(dev)
com->it_in.c_ispeed = com->it_in.c_ospeed = TTYDEF_SPEED;
if (siosetwater(com, com->it_in.c_ispeed) != 0) {
enable_intr();
- free(com, M_DEVBUF);
/*
* Leave i/o resources allocated if this is a `cn'-level
* console, so that other devices can't snarf them.
@@ -2282,7 +2282,6 @@ sioclose(dev, flag, mode, p)
if (com->ibuf != NULL)
free(com->ibuf, M_DEVBUF);
bzero(tp, sizeof *tp);
- free(com, M_DEVBUF);
splx(s);
}
return (0);
OpenPOWER on IntegriCloud