Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 07/07/2000 00:31:30
Module Name:	syssrc
Committed By:	itojun
Date:		Fri Jul  7 07:31:30 UTC 2000

Modified Files:
	syssrc/sys/dev/pcmcia [netbsd-1-5]: if_cnw.c if_cnwreg.h

Log Message:
sync with netbsd-current, approved by releng-1-5.
sys/dev/pcmcia/if_cnw.c 1.11 -> 1.13
sys/dev/pcmcia/if_cnwreg.h 1.2 -> 1.3

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.11.2.1 syssrc/sys/dev/pcmcia/if_cnw.c
cvs rdiff -r1.2 -r1.2.4.1 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.