Subject: CVS commit: src/sys/arch/hpcsh/dev/hd64461
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 03/27/2004 02:24:01
Module Name: src
Committed By: uwe
Date: Sat Mar 27 02:24:01 UTC 2004
Modified Files:
src/sys/arch/hpcsh/dev/hd64461: hd64461pcmcia.c
Log Message:
Add option HD64461PCMCIA_REORDER_ATTACH that attaches channels in
reversed order.
When you boot with two CF cards inserted, this options makes the one
in the "memory only" slot (channel 1), which is almost always the card
with the NetBSD install, attached as wd0.
Unlike using fixed unit numbers in the kernel config, if you boot with
only a single CF card, that single card will still be wd0 regardless
of which slot it is inserted in.
http://mail-index.netbsd.org/port-hpcsh/2003/10/23/0000.html provides
a more verbose description of why this option is convenient for most
usage patterns.
To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.