aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-03-12 17:20:24 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-03-12 17:20:24 +0000
commita2a101e7668498036abed65972e3f0dc0446dab9 (patch)
treeb40fb1c7e547d235360694755185d79c260153e2 /sys/dev
parent1f006b061a1b92017dc6f2efde61d23236291ad7 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/puc/pucdata.c24
-rw-r--r--sys/dev/sio/sio.c2
2 files changed, 25 insertions, 1 deletions
diff --git a/sys/dev/puc/pucdata.c b/sys/dev/puc/pucdata.c
index 28a65eadda816..39a3d6813e543 100644
--- a/sys/dev/puc/pucdata.c
+++ b/sys/dev/puc/pucdata.c
@@ -1019,5 +1019,29 @@ const struct puc_device_description puc_devices[] = {
},
},
+ { "IC Book Labs Dreadnought x16 Pro",
+ NULL,
+ { 0xb00c, 0x081c, 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x20, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x28, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x30, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x38, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x40, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x48, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x50, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x58, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x60, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x68, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x70, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x10, 0x78, COM_FREQ },
+ },
+ },
+
{ 0 }
};
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index b3d8d21a78e7f..f5e7363601eb6 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -730,7 +730,7 @@ sioprobe(dev, xrid, rclk, noprobe)
/* EXTRA DELAY? */
failures[0] = sio_getreg(com, com_cfcr) - CFCR_8BITS;
failures[1] = sio_getreg(com, com_ier) - IER_ETXRDY;
- failures[2] = sio_getreg(com, com_mcr) - mcr_image;
+ failures[2] = (sio_getreg(com, com_mcr) & 0x7f) - mcr_image;
DELAY(10000); /* Some internal modems need this time */
irqmap[1] = isa_irq_pending();
failures[4] = (sio_getreg(com, com_iir) & IIR_IMASK) - IIR_TXRDY;