8.0-RELEASE, puc, ppbus & lpt

Eric Masson emss at free.fr
Fri Dec 18 21:47:56 UTC 2009


I'd like to know whether it is possible to force device numbering on a
box which has a built in parallel port and another on a serial/parallel
card ?

Parallel port managing code is loaded as modules :
13    1 0xffffffff80917000 8cc0     ppc.ko
14    3 0xffffffff80920000 99c8     ppbus.ko
15    1 0xffffffff8092a000 4848     lpt.ko
16    1 0xffffffff8092f000 a418     puc.ko

Serial parallel/card port is probed before builtin port :
ppc1: <Oxford Semiconductor OX16PCI954 Parallel port> port 0xd300-0xd307,0xd400-0xd407,0xd500-0xd51f mem 0xf6013000-0xf6013fff irq 18 at device 9.1 on pci0
ppc1: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppc1: [ITHREAD]
ppbus0: <Parallel port bus> on ppc1
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77b irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppc0: [ITHREAD]
ppbus1: <Parallel port bus> on ppc0
lpt1: <Printer> on ppbus1
lpt1: [ITHREAD]
lpt1: Interrupt-driven port

I've tried to set device hints but couldn't achieve a consistant
numbering (ppc1->ppbus1->lpt1 & ppc0->ppbus0->lpt0).

Any idea, anyone ?



 L'attitude qui consiste a rappeler a un contributeur que sa poste est
 contraire a la charte du NG, me parait pedante, anale et probablement
 aussi "hors-sujet". Ce qui m'enerve plus qu' une poste sur le TeX...
 -+- Dr NV in GNU : Les a(nale)ventures de Docteur Juste Tex. -+-

More information about the freebsd-questions mailing list