Date: Tue, 20 Sep 2005 13:23:26 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: haro@h4.dion.ne.jp Cc: current@freebsd.org Subject: Re: Panic with recent PCcard changes Message-ID: <20050920.132326.76562879.imp@bsdimp.com> In-Reply-To: <20050921.013052.74756148.haro@h4.dion.ne.jp> References: <20050921.013052.74756148.haro@h4.dion.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20050921.013052.74756148.haro@h4.dion.ne.jp> Munehiro Matsuda <haro@h4.dion.ne.jp> writes: : pccard1: <16-bit PCCard bus> on cbb1 ========^===== 1 : panic: make_dev() by driver pccard on pre-existing device (min=0, : name=pccard0.cis) =============^==== 0 I wonder why sc->cisdev = make_dev(&pccard_cdevsw, 0, 0, 0, 0666, "pccard%u.cis", device_get_unit(sc->dev)); device_get_unit is returning 0 instead of 1 for the second device. haro-san, if you could add some debugging information to try to find out why this is the case, that would be helpful. My laptop only has one pccard/cardbus slot, so I didn't run into this or even think it would be a problem... Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050920.132326.76562879.imp>