Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 07/05/2000 11:42:21
Module Name:	syssrc
Committed By:	itojun
Date:		Wed Jul  5 18:42:21 UTC 2000

Modified Files:
	syssrc/sys/dev/pcmcia: if_cnw.c if_cnwreg.h

Log Message:
use memory mapped address, instead of i/o memory access, for control
registers.  rationale:
- Netwave cards choke if we map i/o memory to >= 0x400
- even though, CIS tuple talks nothing about it
- it is not possible to specify range in pcmcia_io_map
- it would be very bad to do a try-and-error bus_space allocation for
  i/o memory regions < 0x400
- we can have exactly the same functionality with memory mapped access
this should correct PR 10139.

the memory mapped access idea was from WIDE wildboar/bsdi cnw code.


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 syssrc/sys/dev/pcmcia/if_cnw.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/dev/pcmcia/if_cnwreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.