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, b...@medinet.si, http://home.amis.net/blaz
Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to