From owner-freebsd-mobile Sat Jan 15 10:21:10 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 0DE0E14C0D for ; Sat, 15 Jan 2000 10:21:06 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA55234; Sat, 15 Jan 2000 11:21:04 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA42322; Sat, 15 Jan 2000 11:21:59 -0700 (MST) Message-Id: <200001151821.LAA42322@harmony.village.org> To: Tatsumi Hosokawa Subject: Re: Polling mode of pcic as default? Cc: mobile@FreeBSD.ORG In-reply-to: Your message of "Sat, 15 Jan 2000 17:42:51 +0900." <86oganhgj8.wl@ringo.FromTo.Cc> References: <86oganhgj8.wl@ringo.FromTo.Cc> Date: Sat, 15 Jan 2000 11:21:58 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <86oganhgj8.wl@ringo.FromTo.Cc> Tatsumi Hosokawa writes: : I think that better default behavior of pcic is polling mode (for : instetion/removal of cards) because, : 1. IRQ mode does not work on some pc-card controller on -current : and coming 4.0-RELEASE (Toshiba ToPIC, TI-1250, etc.). : 2. IRQ is very expensive resource. : 3. Cost of polling mode is little. I think that so long as I can set the pcic irq from the boot loader/userconfig, I'm happy with making polling default. There are more race conditions with polling (actually, there aren't more, but their windows are larger), so we may see more system hangs with polling rather than with the interrupt method, but I don't know how many more. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message