uart and puc attach conflict

Marcel Moolenaar marcel at xcllnt.net
Tue Oct 25 18:58:49 PDT 2005


On Oct 25, 2005, at 4:00 AM, Mike G wrote:

> Hello!
>
> I have a problem with  multi-port card based on Nm9845 chip.
> It's a card with 4 com-ports.
> It perfectly works with puc(4) and sio(4) drivers if they compiled  
> into kernel.
> or with puc(4) and uart(4) drivers if they loaded manualy.
> But if puc(4) and uart(4) are compiled into kernel or loaded from
> loader.conf  - problem appears.
>
> Instead of puc(4) attaching to the device, and uarts attaching to  
> the puc0,
> I see that uart(4) driver attaches to the device itself.

Fixed in rev. 1.6 of src/sys/dev/uart/uart_bus_pci.c

The problem was that there were PCI IDs of multi-port cards in
the list of devices that uart(4) could attach to.

Rev 1.6 can manually be applied to 6.0 (including BETAs and RCs).
The fix will not make it in 6.0 though. I'll merge after 6.0 is
released.

FYI,

-- 
  Marcel Moolenaar         USPA: A-39004          marcel at xcllnt.net




More information about the freebsd-current mailing list