• Colin Ian King's avatar
    parport: parport_serial: Add WCH CH382L PCIe single parallel port support · c9a104e2
    Colin Ian King authored
    The WCH CH382L PCIe adapter has 1 parallel port but unlike the similar
    WCH CH328 adapter there are no serial ports connected to it.  Enable
    this adapter with the addition of the appropriate PCIe IDs and board
    support config.
    
    PCIe device ID 1c00:3050:
    
    02:00.0 Serial controller: Device 1c00:3050 (rev 10) (prog-if 05 [16850])
    	Subsystem: Device 1c00:3050
    	Flags: fast devsel, IRQ 16
    	I/O ports at 2000 [size=256]
    	Memory at d0000000 (32-bit, prefetchable) [size=32K]
    	I/O ports at 2100 [size=4]
    	Expansion ROM at b0200000 [disabled] [size=32K]
    	Capabilities: [60] Power Management version 3
    	Capabilities: [68] MSI: Enable- Count=1/32 Maskable+ 64bit+
    	Capabilities: [80] Express Legacy Endpoint, MSI 00
    	Capabilities: [100] Advanced Error Reporting
    	Kernel driver in use: parport_pc
    	Kernel modules: parport_pc, parport_serial
    Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    c9a104e2
parport_serial.c 19.8 KB