Module Name: src Committed By: gdt Date: Wed Dec 31 18:14:55 UTC 2014
Modified Files: src/share/man/man4: cardbus.4 Log Message: Explain RBUS_IO_BASE/SIZE. See also kern/32327. Adapted from a patch by Bj�rn Johannesson. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/share/man/man4/cardbus.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man4/cardbus.4 diff -u src/share/man/man4/cardbus.4:1.35 src/share/man/man4/cardbus.4:1.36 --- src/share/man/man4/cardbus.4:1.35 Wed Apr 25 04:14:03 2012 +++ src/share/man/man4/cardbus.4 Wed Dec 31 18:14:55 2014 @@ -1,4 +1,4 @@ -.\" $NetBSD: cardbus.4,v 1.35 2012/04/25 04:14:03 nakayama Exp $ +.\" $NetBSD: cardbus.4,v 1.36 2014/12/31 18:14:55 gdt Exp $ .\" .\" Copyright (c) 1999-2006 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd April 25, 2012 +.Dd December 31, 2014 .Dt CARDBUS 4 .Os .Sh NAME @@ -183,9 +183,9 @@ driver appeared in .Sh BUGS .Ss Memory space conflicts .Nx -maps memory on Cardbus and PCMCIA cards in order to access the cards -(including reading CIS tuples on PCMCIA cards) -and access the devices using the +maps memory on Cardbus (and therefore PCMCIA cards behind Cardbus) in +order to access the cards (including reading CIS tuples on PCMCIA +cards) and access the devices using the .Tn RBUS abstraction. When the mapping does not work, PCMCIA cards are typically ignored on @@ -204,3 +204,12 @@ models, including the IBM Thinkpad 600E ARMADA M700: .Pp .Cd options RBUS_MIN_START="0x20000000" +.Ss PCMCIA addressing choice +By default, on i386, the kernel uses RBUS_IO_BASE as 0x4000 and +RBUS_IO_SIZE as 0x2000. On some machines, this fails, due to a +requirement that these addresses fit within 12 bits. The following +kernel options have been reported as helpful: +.Pp +.Cd options RBUS_IO_BASE="0xa00" +.Pp +.Cd options RBUS_IO_SIZE="0x00ff"