Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 1999 17:33:30 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Warner Losh <imp@village.org>
Cc:        Nate Williams <nate@mt.sri.com>, hosokawa@itc.keio.ac.jp (HOSOKAWA Tatsumi), mobile@FreeBSD.ORG
Subject:   Re: usr.sbin/pccard/pccardd change for "cardio" and "cardmem" 
Message-ID:  <199907220033.RAA02886@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 21 Jul 1999 10:53:45 MDT." <199907211653.KAA03421@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> In message <199907211644.KAA26506@mt.sri.com> Nate Williams writes:
> : > I want to add these two entries in /etc/pccard.conf.
> : > 
> : > 	function serial
> : > 		config default "sio4" any
> : > 		cardio any 8
> : > 
> : > 	function fixed_disk
> : > 		config default "wdc2" any
> : > 		cardio any 16
> : 
> : And these do what?
> 
> Seems obvious to me that they say
> 	"I want you to bind any PCCARD who claims to be a serial card
> 	to sio4, at a multiple of 8 offset"
> and
> 	"I want you to bind any PCCARD who claims to be a fixed disk
> 	to wdc2, aligned on a 16 byte offset"
> 
> Rather than having 1000000000000 entries for modems, compact flash, etc.

And of course they should be 

	config default sio any
	cardio 8

ie. "use the sio driver", not "be sio4".  I think "cardio" is a bad 
name for the keyword too; I would use the same keyword that's used for 
specifying a fixed I/O address but use a notation signifying an 
arbitrary multiple, eg.

	ioport %8

-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  msmith@freebsd.org
\\    -- Joseph Merrick           \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907220033.RAA02886>