diff options
author | dg <dg@FreeBSD.org> | 1996-10-14 16:10:00 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1996-10-14 16:10:00 +0000 |
commit | 3499ced4da32437fdeb769ae8682c21f88987646 (patch) | |
tree | 376f5b4783d85b48745bf073b71f72bd4bd4a02f /sys/dev/cy | |
parent | a249573c9dba81cfd10533b1751f97ed94bff81b (diff) | |
download | FreeBSD-src-3499ced4da32437fdeb769ae8682c21f88987646.zip FreeBSD-src-3499ced4da32437fdeb769ae8682c21f88987646.tar.gz |
Make this compile again for the CyDebug case.
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 eaaac3a..53424ee 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 eaaac3a..53424ee 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", |