Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 1999 18:17:27 -0600
From:      Warner Losh <imp@village.org>
To:        Mark Murray <mark@grondar.za>
Cc:        mobile@freebsd.org
Subject:   Re: PCIC's broken on Libretto.... 
Message-ID:  <199910260017.SAA44384@harmony.village.org>
In-Reply-To: Your message of "Tue, 26 Oct 1999 01:58:29 %2B0200." <199910252358.BAA06966@gratis.grondar.za> 
References:  <199910252358.BAA06966@gratis.grondar.za>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199910252358.BAA06966@gratis.grondar.za> Mark Murray writes:
: Included.. It is pretty much cribbed from PCCARDD and stripped down.
: # PCCARD (PCMCIA) support
: controller	card0
: controller	pcic0	at isa?
: controller	pcic1	at isa?

I have them in my config file like so:

controller	pcic0	at isa? irq 10
controller	pcic1	at isa?
controller	card0

See if that order makes a difference.  It shouldn't.  Also make sure
that you have run config.  In compile/FOO/ioconf.c you should find
something that looks like:
...
struct config_resource pcic0_resource[] = {
	{ "at", RES_STRING, { (long) "isa" }},
	{ "irq", RES_INT, {10}},
};
#define pcic0_count 2
struct config_resource pcic1_resource[] = {
	{ "at", RES_STRING, { (long) "isa" }},
};
#define pcic1_count 1
...
	{ "pcic",	0,	pcic0_count,	pcic0_resources },
	{ "pcic",	1,	pcic1_count,	pcic1_resources },
...

A very common error has been to not run config...  It is usually shows
up when pcic0 and/or pcic1 show up for the pci attachment rather than
having them show up as pcic2 and 3.

Warner


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?199910260017.SAA44384>