Subject: bus.h mods for wt.c not complete
To: None <current-users@NetBSD.ORG>
From: The Master himself <root@pc5084.rme.breda.nl>
List: current-users
Date: 08/08/1997 11:21:07
Hello all,

I am just one of those happy users of a wangtek tape drive (150 - 525 model drive)

It all worked fine untill a few days a new sys/dev/isa/wt.c came allong with sup
The new driver did not find my tape anymore.

I applied following patch to wt.c to make it work again.


85,88c85,88
< #define WT_CTLPORT		(ia->ia_iobase + 0 )	/* control, write only */
< #define WT_STATPORT		(ia->ia_iobase + 0 )	/* status, read only */
< #define WT_CMDPORT		(ia->ia_iobase + 1 )	/* command, write only */
< #define WT_DATAPORT		(ia->ia_iobase + 1 )	/* data, read only */
---
> #define WT_CTLPORT		(0)		/* control, write only */
> #define WT_STATPORT		(0)		/* status, read only */
> #define WT_CMDPORT		(1)		/* command, write only */
> #define WT_DATAPORT		(1)		/* data, read only */

I know I should send-pr it but I-net access is a little screwy here....
Regards Gerard.