Date: Fri, 25 May 2001 16:40:34 +0100 From: j mckitrick <jcm@FreeBSD-uk.eu.org> To: Warner Losh <imp@village.org> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: removing inb()/outb() from devices Message-ID: <20010525164033.A21603@dogma.freebsd-uk.eu.org> In-Reply-To: <200105250206.f4P26wl39972@billy-club.village.org>; from imp@village.org on Thu, May 24, 2001 at 08:06:58PM -0600 References: <20010523171539.A43898@dogma.freebsd-uk.eu.org> <200105250206.f4P26wl39972@billy-club.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
One more question: In the probe routines, the values of the hardware ports are changing from one chipset to the next. Throughout the ppc driver, the regular macros are used to access the parallel port control registers, but in the probe routine it reverts to inb/outb, probably because it makes no sense to allocate a port for 2 or three operations, then deallocate it and choose another one. So, should the inb/outb calls in the probe functions be left alone? This is specifically for the ppc driver, where several possible chipsets must be addressed by one driver. jcm -- "I drank WHAT ?!" - Socrates To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010525164033.A21603>