[PARPORT] PLX PCI9050 I2O card (2 parallel ports) recognized as Network controller

From: Petr.Mosnicka@YieldTech.cz
Date: Tue Mar 14 2000 - 03:38:03 EST

  • Next message: Philip Blundell: "Re: [PARPORT] PLX PCI9050 I2O card (2 parallel ports) recognized as Network controller"

    [looks like my first posting did not get through, if so I apologize]

    Hi parport people,

    I'm not able to get working any of two ports on PLX PCI9050 I2O PCI card.

    I get alway this:

    0x3bc: CTR: wrote 0x0c, read 0xff
    0x3bc: DATA: wrote 0xaa, read 0xff

    When I try different ioports the result is the same. Regardless if
    compiled as a module or as a part of kernel.

    With autoprobe (i.e. without option "io=0x...." and parport_pc compiled as
    a module) it finds only onboard parport at 0x378.

    Relevant part of /proc/pci:

      Bus 0, device 8, function 0:
        Network controller: PLX PCI9050 I2O (rev 1).
          Medium devsel. Fast back-to-back capable. IRQ 10.
          Non-prefetchable 32 bit memory at 0xffaeff80 [0xffaeff80].
          I/O at 0xec80 [0xec81].
          I/O at 0xefe0 [0xefe1].
          I/O at 0xefa8 [0xefa9].

    lspci -vv:

    00:08.0 Network controller: PLX Technology, Inc. PCI <-> IOBus Bridge (rev 01)
            Subsystem: Unknown device 10b5:0002
            Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
            Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
            Interrupt: pin A routed to IRQ 10
            Region 0: Memory at ffaeff80 (32-bit, non-prefetchable)
            Region 1: I/O ports at ec80
            Region 4: I/O ports at efe0
            Region 5: I/O ports at efa8

    I tried kernel 2.2.13, 2.2.14 and 2.3.50 with no success. Last two days I
    spent many hours searching on the Net and in the archive of this mailing
    list. I'm testing it in two Socket7 computers: one with 82437VX Triton II
    chipset, other is quite new with ALI15xx chipset. Except a different I/O
    ports and IRQ shown in /proc/pci behaviour is the same.

    Under Win98 it is recognized as LPT2 (0x278-0x27A, IRQ10) and LPT3
    (0x268-0x26F, IRQ10).

    Under DOS it is recognized as LPT2 (0x278, IRQ10) and COM3 (0x3E8,
    IRQ10) (uhmm..weird, I know, but thats what the driver says).

    I tried to patch the kernel (2.2.14) with something like this (just a
    try, I am in no way kernel programmer):

    diff -ru /usr/src/linux/drivers/misc/parport_pc.c.orig /usr/src/linux/drivers/misc/parport_pc.c
    --- /usr/src/linux/drivers/misc/parport_pc.c.orig Thu Mar 9 21:48:36 2000
    +++ /usr/src/linux/drivers/misc/parport_pc.c Fri Mar 10 13:33:26 2000
    @@ -863,6 +863,8 @@
                            int hi; /* -ve if not there */
                    } addr[4];
            } cards[] = {
    + { { 0, -1 }, } },
                    { PCI_VENDOR_ID_SIIG, PCI_DEVICE_ID_SIIG_1S1P_10x_550, 1,
                      { { 3, 4 }, } },
                    { PCI_VENDOR_ID_SIIG, PCI_DEVICE_ID_SIIG_1S1P_10x_650, 1,

    diff -ru /usr/src/linux/drivers/pci/oldproc.c.orig /usr/src/linux/drivers/pci/oldproc.c
    --- /usr/src/linux/drivers/pci/oldproc.c.orig Thu Mar 9 21:48:40 2000
    +++ /usr/src/linux/drivers/pci/oldproc.c Fri Mar 10 09:52:24 2000
    @@ -271,6 +271,7 @@
            DEVICE( WINBOND, WINBOND_82C105, "SL82C105"),
            DEVICE( WINBOND, WINBOND_83C553, "W83C553"),
            DEVICE( DATABOOK, DATABOOK_87144, "DB87144"),
    + DEVICE( PLX, PLX_0002, "PCI9050 0002 I2O"),
            DEVICE( PLX, PLX_9050, "PCI9050 I2O"),
            DEVICE( PLX, PLX_9080, "PCI9080 I2O"),
            DEVICE( MADGE, MADGE_MK2, "Smart 16/4 BM Mk2 Ringnode"),

    diff -ru /usr/src/linux/include/linux/pci.h.orig /usr/src/linux/include/linux/pci.h
    --- /usr/src/linux/include/linux/pci.h.orig Thu Mar 9 21:48:54 2000
    +++ /usr/src/linux/include/linux/pci.h Fri Mar 10 09:45:29 2000
    @@ -640,6 +640,7 @@
     #define PCI_DEVICE_ID_DATABOOK_87144 0xb106
     #define PCI_VENDOR_ID_PLX 0x10b5
    +#define PCI_DEVICE_ID_PLX_0002 0x0002
     #define PCI_DEVICE_ID_PLX_9050 0x9050
     #define PCI_DEVICE_ID_PLX_9060 0x9060
     #define PCI_DEVICE_ID_PLX_9060ES 0x906E

    but this apparently doesn't help.

    I'd like to use all three parallel ports.

    Has somebody any clue on this?



    Petr Mosnicka YieldTECH - the LINUX company Chlumova 20 phone: +420-2-22783067 Prague 3 mailto: Petr.Mosnicka@YieldTech.cz Czech Republic http://www.YieldTech.cz

    -- 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 - 03:39:20 EST