From owner-freebsd-current Sun Jun 28 07:17:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA26812 for freebsd-current-outgoing; Sun, 28 Jun 1998 07:17:52 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA26807 for ; Sun, 28 Jun 1998 07:17:49 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id AAA17043; Mon, 29 Jun 1998 00:17:39 +1000 Date: Mon, 29 Jun 1998 00:17:39 +1000 From: Bruce Evans Message-Id: <199806281417.AAA17043@godzilla.zeta.org.au> To: peter@netplex.com.au, zach@gaffaneys.com Subject: Re: ppbus is broken. Cc: bde@zeta.org.au, current@FreeBSD.ORG, mike@smith.net.au Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >It's a real shame that the 'tty', 'bio', 'net' flags and the 'vector >xxxintr' are required. It's quite a simple change to config(8) and struct >isa_device and isa.c to enable isa drivers to register their own interrupt >handler and mask at probe time. > >The best part is that it can be done incrementally.. We can add an >id_maskptr field, and have config generate an single 'isa_devtab' rather >than an 'isa_devtab_bio', 'isa_devtab_net', etc. If the mask is specified I might remove some device class specifiers from configurations when I remove some interrupt handler specifiers. They are already mostly ignored for interrupts registered by drivers (attempts by isa_configure() attempts to register interrupts twice are silently ignored). The tables are still used for deciding which devices are ttys and for multiplexing the fd and wd drivers, so merging them is not completely trivial. >in the config file, it would be used to initialize the field. The driver >can change this at probe time, and isa.c will automatically use it. Changing the tables for isa_configure() to interpret later is easier, but I don't think it is right. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message