From owner-freebsd-isdn Sat Apr 17 15:59:55 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from server.amis.net (server.amis.net [212.18.32.10]) by hub.freebsd.org (Postfix) with ESMTP id 13D3414D49; Sat, 17 Apr 1999 15:59:44 -0700 (PDT) (envelope-from blaz@gold.amis.net) Received: (from uucp@localhost) by server.amis.net (8.8.8/8.8.8) with UUCP id AAA21149; Sun, 18 Apr 1999 00:57:13 +0200 (CEST) Received: by gold.amis.net (Postfix, from userid 1000) id E9D3A3B; Sun, 18 Apr 1999 00:56:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by gold.amis.net (Postfix) with ESMTP id B36B21E2B; Sun, 18 Apr 1999 00:56:06 +0200 (CEST) Date: Sun, 18 Apr 1999 00:56:06 +0200 (CEST) From: Blaz Zupan To: freebsd-current@freebsd.org Cc: freebsd-isdn@freebsd.org Subject: new-bus changes break i4b Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org After the latest new-bus changes in FreeBSD-current a kernel configured with ISDN support and PnP does not compile anymore. The following patch fixed the problem for me, at least the kernel compiles and runs. I don't have a PnP ISDN card (only a non-PnP one), but I do have PnP enabled in my kernel config file because my sound card needs it. The patch below is based on changes between /sys/i386/isa/sio.c and /sys/isa/sio.c and it could be completely wrong... *** /sys/i4b/layer1/i4b_isic_pnp.c.orig Sun Mar 7 17:08:16 1999 --- /sys/i4b/layer1/i4b_isic_pnp.c Sun Apr 18 00:48:46 1999 *************** *** 219,231 **** if(dev->id_driver == NULL) { dev->id_driver = &isicdriver; ! ! isa_devp = find_isadev(isa_devtab_net, &isicdriver, 0); ! ! if(isa_devp != NULL) ! { ! dev->id_id = isa_devp->id_id; ! } } if((dev->id_alive = isic_pnpprobe(dev, spci.port[1])) != 0) --- 219,225 ---- if(dev->id_driver == NULL) { dev->id_driver = &isicdriver; ! dev->id_id = isa_compat_nextid(); } if((dev->id_alive = isic_pnpprobe(dev, spci.port[1])) != 0) Blaz Zupan, blaz@medinet.si, http://home.amis.net/blaz Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message