PARPORT DOUBT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
hi

I was going through Linux Device Driver by Rubini, and in chapter 8, he talks about parport interfacing. where he explains that each parport is made of three 8 bit ports, and address 4 first port is at 0x378. He also says base_addr + 0 gives address of data port and base_addr +1 of status port and base_addr + 3 of Control port.

Later on he gives an example of sample driver called short which has 8 devices where first device reads/writes to base(0x378) and second device to base + 1 and so on up to base + 7.

but comparing both these creates confusion to me that if base+1 is a status port, how can write be possible as its only read only, and if parport is made up of three 8 bit port, then how can base+4 up to base+7 exist.....

i know this a long mail, but hope you would certainly solve my problems, though it might sound silly to some.......

THANKS IN ADVANCE

DEEPS




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux