On Tue, 14 Mar 2000, Philip Blundell wrote:
> >+ { PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_0002, 1,
> >+ { { 0, -1 }, } },
>
> This is not so good. The PLX9050 is a generic PCI bridge, not anything
> directly to do with parallel ports.
>
> What happens if you insmod parport_pc with `io=' options for the regions that
> /proc/pci told you about? The first one is probably the PLX's internal
> control registers so avoid that, but if you are lucky the other two will just
> be the regions for the two ports.
I tried this already before. Same result:
[root@ws22 /]# insmod parport
[root@ws22 /]# insmod parport_pc io=0xefe0
[root@ws22 /]# tail /var/log/console
...
Mar 14 10:05:35 ws22 kernel: 0xefe0: CTR: wrote 0x0c, read 0x04
Mar 14 10:05:35 ws22 kernel: 0xefe0: DATA: wrote 0xaa, read 0xff
Mar 14 10:05:35 ws22 kernel: parport0: PC-style at 0xefe0 [SPP,PS2,EPP]
[root@ws22 /]# rmmod parport_pc
[root@ws22 /]# insmod parport_pc io=0xefa8
[root@ws22 /]# tail /var/log/console
...
Mar 14 10:10:22 ws22 kernel: 0xefa8: CTR: wrote 0x0c, read 0xff
Mar 14 10:10:22 ws22 kernel: 0xefa8: DATA: wrote 0xaa, read 0xff
Mar 14 10:10:22 ws22 kernel: parport0: PC-style at 0xefa8 [SPP,PS2]
petr
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Tue Mar 14 2000 - 04:15:18 EST