[PARPORT] ppa 1.4 parameters


Mark Garlanger (garlangr@cyberramp.net)
Sat, 07 Feb 1998 22:10:48 -0600


I have just compiled the ppa 1.4 into the 2.0.33 kernel and am having
some problems
compared to the standard ppa. I have the following parameters passed to
the
kernel by LILO: 'lp=0x278 ppa=0x378' which according to the comments in
the code
should be fine:

/*
 * Command line parameters (for built-in driver):
 *
 * Syntax: ppa=base[,mode[,use_sg]]
 *
 * For example: ppa=0x378 or ppa=0x378,0,3
 *
 */

But I am getting this error when I boot: 'Feb 5 19:49:57 furball
kernel: PPA: I only use between 2 to 3 parameters. '
Which I have found in the code, it appears I could just add a 'case 1: '
before the parbus_base assignment.
Is this correct?

    switch (ints[0]) {
    case 3:
        ppa_sg = ints[3];
    case 2:
        ppa_hosts[x].mode = ints[2];
        parbus_base[x] = ints[1];
        break;
    default:
        printk("PPA: I only use between 2 to 3 parameters.\n");
        break;
    }

I have loaded it as a module and I get about 10 M/min, is this common?
Is the 'Failed Intel bug check'
anything to be concerned about?

ppa: Version 1.40
ppa: Probing port 03bc
ppa: Probing port 0378
ppa: SPP port present
ppa: ECP with a 16 byte FIFO present
ppa: PS/2 bidirectional port present
ppa: Failed Intel bug check. (Phony EPP in ECP)
ppa: Found device at ID 6, Attempting to use EPP 32 bit
ppa: Found device at ID 6, Attempting to use PS/2
ppa: Communication established with ID 6 using PS/2
scsi1 : Iomega parport ZIP drive
scsi : 2 hosts.
  Vendor: IOMEGA Model: ZIP 100 Rev: N*32
  Type: Direct-Access ANSI SCSI revision: 02
Detected scsi removable disk sdb at scsi1, channel 0, id 6, lun 0
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1
GB]
sdb: Write Protect is off
 sdb: sdb4

Thanks,

Mark

-- 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 2.0b3 on Wed 30 Dec 1998 - 10:17:26 EST