RE: [PATCH] staging: comedi: 8255_pci: fix for newer PCI-DIO48H

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

 



On Friday, December 13, 2013 5:01 AM, Ian Abbott wrote:
> 
> At some point, Measurement Computing / ComputerBoards redesigned the
> PCI-DIO48H to use a PLX PCI interface chip instead of an AMCC chip.
> This meant they had to put their hardware registers in the PCI BAR 2
> region instead of PCI BAR 1.  Unfortunately, they kept the same PCI
> device ID for the new design.  This means the driver recognizes the
> newer cards, but doesn't work (and is likely to screw up the local
> configuration registers of the PLX chip) because it's using the wrong
> region.
>
> Since  the PCI subvendor and subdevice IDs were both zero on the old
> design, but are the same as the vendor and device on the new design, we
> can tell the old design and new design apart easily enough.  Split the
> existing entry for the PCI-DIO48H in `pci_8255_boards[]` into two new
> entries, referenced by different entries in the PCI device ID table
> `pci_8255_pci_table[]`.  Use the same board name for both entries.
>
> Signed-off-by: Ian Abbott <abbotti@xxxxxxxxx>
> ---
> Cc: <stable@xxxxxxxxxxxxxxx> # 3.10.y # 3.11.y # 3.12.y # 3.13.y
> ---
>  drivers/staging/comedi/drivers/8255_pci.c | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)

Thanks,

Acked-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]