diff options
| author | David Greenman <dg@FreeBSD.org> | 1996-10-14 16:10:00 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1996-10-14 16:10:00 +0000 |
| commit | 6fd560f67082aa5816b6f144aa5be60431ed1570 (patch) | |
| tree | 376f5b4783d85b48745bf073b71f72bd4bd4a02f /sys/dev/cy | |
| parent | ee91e24972d2f60badeaa3bfc7688845d7b1404e (diff) | |
Notes
Diffstat (limited to 'sys/dev/cy')
| -rw-r--r-- | sys/dev/cy/cy.c | 13 | ||||
| -rw-r--r-- | sys/dev/cy/cy_isa.c | 13 |
2 files changed, 14 insertions, 12 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c index eaaac3ab3bd1c..53424ee523e07 100644 --- a/sys/dev/cy/cy.c +++ b/sys/dev/cy/cy.c @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: cy.c,v 1.38 1996/10/13 01:09:16 davidg Exp $ + * $Id: cy.c,v 1.39 1996/10/13 01:30:32 davidg Exp $ */ #include "cy.h" @@ -2492,14 +2492,15 @@ cystatus(unit) printf("saved cor1-3:\t\t\t0x%02x 0x%02x 0x%02x\n", com->cor[0], com->cor[1], com->cor[2]); printf("service request enable reg:\t0x%02x (0x%02x cached)\n", - cd_inb(iobase, CD1400_SRER), com->intr_enable); + cd_inb(iobase, CD1400_SRER, com->cy_align), com->intr_enable); printf("service request register:\t0x%02x\n", - cd_inb(iobase, CD1400_SVRR)); + cd_inb(iobase, CD1400_SVRR, com->cy_align)); printf("modem status:\t\t\t0x%02x (0x%02x cached)\n", - cd_inb(iobase, CD1400_MSVR2), com->prev_modem_status); + cd_inb(iobase, CD1400_MSVR2, com->cy_align), com->prev_modem_status); printf("rx/tx/mdm interrupt registers:\t0x%02x 0x%02x 0x%02x\n", - cd_inb(iobase, CD1400_RIR), cd_inb(iobase, CD1400_TIR), - cd_inb(iobase, CD1400_MIR)); + cd_inb(iobase, CD1400_RIR, com->cy_align), + cd_inb(iobase, CD1400_TIR, com->cy_align), + cd_inb(iobase, CD1400_MIR, com->cy_align)); printf("\n"); printf("com state:\t\t\t0x%02x\n", com->state); printf("calls to comstart():\t\t%d (%d useful)\n", diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c index eaaac3ab3bd1c..53424ee523e07 100644 --- a/sys/dev/cy/cy_isa.c +++ b/sys/dev/cy/cy_isa.c @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: cy.c,v 1.38 1996/10/13 01:09:16 davidg Exp $ + * $Id: cy.c,v 1.39 1996/10/13 01:30:32 davidg Exp $ */ #include "cy.h" @@ -2492,14 +2492,15 @@ cystatus(unit) printf("saved cor1-3:\t\t\t0x%02x 0x%02x 0x%02x\n", com->cor[0], com->cor[1], com->cor[2]); printf("service request enable reg:\t0x%02x (0x%02x cached)\n", - cd_inb(iobase, CD1400_SRER), com->intr_enable); + cd_inb(iobase, CD1400_SRER, com->cy_align), com->intr_enable); printf("service request register:\t0x%02x\n", - cd_inb(iobase, CD1400_SVRR)); + cd_inb(iobase, CD1400_SVRR, com->cy_align)); printf("modem status:\t\t\t0x%02x (0x%02x cached)\n", - cd_inb(iobase, CD1400_MSVR2), com->prev_modem_status); + cd_inb(iobase, CD1400_MSVR2, com->cy_align), com->prev_modem_status); printf("rx/tx/mdm interrupt registers:\t0x%02x 0x%02x 0x%02x\n", - cd_inb(iobase, CD1400_RIR), cd_inb(iobase, CD1400_TIR), - cd_inb(iobase, CD1400_MIR)); + cd_inb(iobase, CD1400_RIR, com->cy_align), + cd_inb(iobase, CD1400_TIR, com->cy_align), + cd_inb(iobase, CD1400_MIR, com->cy_align)); printf("\n"); printf("com state:\t\t\t0x%02x\n", com->state); printf("calls to comstart():\t\t%d (%d useful)\n", |
