Hello,

i have problems to get my Philips ISP1561 PCI USB Hostcontroller functioning
on my PPC 440 GX board. The Host controller Interrupt Pin is connected to
external IRQ 03 of the PPC 440 GX. So Interrupt 26 should be responsible for
the Host controller and PCIX address line 17 is selected for IDSel. I
configured my Board specific File to that conditions:

static inline int
hima_map_irq(struct pci_dev *dev, unsigned char idsel, unsigned char pin)
{
        static char pci_irq_table[][4] =
        /*
         *      PCI IDSEL/INTPIN->INTLINE
         *         A   B   C   D
         */
        {
                { 26, 26, 26, 26 },     /* IDSEL 17 - PCI Slot 0 */
                { 25, 25, 25, 25 },     /* IDSEL 18 - PCI Slot 1 */
                { 24, 24, 24, 24 },     /* IDSEL 19 - PCI Slot 2 */
                { 23, 23, 23, 23 },     /* IDSEL 20 - PCI Slot 3 */
        };

        const long min_idsel = 1, max_idsel = 4, irqs_per_slot = 4;
        return PCI_IRQ_TABLE_LOOKUP;
}

At linux boot process (see below) the device is detected properly. And if i
connect a usb keyboard  i got an error message that irq 26 nobody cares.
What i did wrong with my configuration or someone has a hint?

Thanks for any help!

Best regards,

David



# usb 3-1: new full speed USB device using ohci_hcd and address 2
usb 3-1: Product: Dell USB Keyboard Hub
usb 3-1: Manufacturer: Dell
hub 3-1:1.0: USB hub found
hub 3-1:1.0: 3 ports detected
irq 26: nobody cared!
Call trace:
 [c0004a50] dump_stack+0x18/0x28
 [c0034cc0] __report_bad_irq+0x34/0xac
 [c0034dec] note_interrupt+0x98/0xd4
 [c00347e0] __do_IRQ+0x138/0x13c
 [c000326c] do_IRQ+0x50/0x98
 [c0001f6c] ret_from_except+0x0/0x18
 [c00032f4] default_idle+0x40/0x5c
 [c0003338] cpu_idle+0x28/0x38
 [c0001044] rest_init+0x24/0x34
 [c01f4654] start_kernel+0x17c/0x1b4
 [c00001e8] skpinv+0x190/0x1cc
handlers:
[<c0108720>] (usb_hcd_irq+0x0/0x94)
[<c0108720>] (usb_hcd_irq+0x0/0x94)
[<c0108720>] (usb_hcd_irq+0x0/0x94)
Disabling IRQ #26
 #


Linux boot output:

Linux version 2.6.12 ([EMAIL PROTECTED]) (gcc-Version 3.3.3 (DENX ELDK 3.1
3.3.3-8)) #7 Fri Jul 15 01:30:54 CEST 2005
IBM
Built 1 zonelists
Kernel command line: console=ttyS1,115200 root=/dev/ram rw
PID hash table entries: 4096 (order: 12, 65536 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 515200k available (1544k kernel code, 532k data, 324k init, 0k
highmem)
Mount-cache hash table entries: 512
checking if image is initramfs...it isn't (no cpio magic); looks like an
initrd
Freeing initrd memory: 1591k freed
NET: Registered protocol family 16
PCI: Probing PCI hardware
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Serial: 8250/16550 driver $Revision: 1.90 $ 6 ports, IRQ sharing enabled
ttyS0 at MMIO 0x0 (irq = 0) is a 16550A
ttyS1 at MMIO 0x0 (irq = 1) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
PPC 4xx OCP EMAC driver, version 3.52
mal0: initialized, 4 TX channels, 4 RX channels
zmii0: bridge in SMII mode
emac0: reset timeout
eth0: emac0, MAC 00:04:ac:e3:28:8a
emac1: reset timeout
eth1: emac1, MAC 00:04:ac:e3:28:8b
rgmii0: input 0 in RGMII mode
eth2: emac2, MAC 00:04:ac:e3:28:8c
eth2: found Generic MII PHY (0x05)
rgmii0: input 1 in RGMII mode
eth3: emac3, MAC 00:04:ac:e3:28:8d
eth3: found Generic MII PHY (0x06)
usbmon: debugs is not available
ehci_hcd 0000:00:01.2: Philips Semiconductors USB 2.0 Host Controller
ehci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:01.2: irq 26, io mem 0xffffcf00
ehci_hcd 0000:00:01.2: USB 2.0 initialized, EHCI 0.95, driver 10 Dec 2004
usb usb1: Product: Philips Semiconductors USB 2.0 Host Controller
usb usb1: Manufacturer: Linux 2.6.12 ehci_hcd
usb usb1: SerialNumber: 0000:00:01.2
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
ohci_hcd 0000:00:01.0: Philips Semiconductors USB 1.1 Host Controller
ohci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:01.0: irq 26, io mem 0xffffe000
usb usb2: Product: Philips Semiconductors USB 1.1 Host Controller
usb usb2: Manufacturer: Linux 2.6.12 ohci_hcd
usb usb2: SerialNumber: 0000:00:01.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: Product: Flash Media Controller 3.23.0.
usb 1-1: Manufacturer: SMSC
ohci_hcd 0000:00:01.1: Philips Semiconductors USB 1.1 Host Controller (#2)
ohci_hcd 0000:00:01.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:01.1: irq 26, io mem 0xffffd000
usb usb3: Product: Philips Semiconductors USB 1.1 Host Controller (#2)
usb usb3: Manufacturer: Linux 2.6.12 ohci_hcd
usb usb3: SerialNumber: 0000:00:01.1
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
RAMDISK: incomplete write (-28 != 1024) 4194304
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 324k init
### Application running ...


BusyBox v0.60.5 (2004.11.10-15:02+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
#


cat /proc/pci:

PCI devices found:
  Bus  0, device   1, function  0:
    USB Controller: Philips Semiconductors USB 1.1 Host Controller (rev 48).
      IRQ 26.
      Master Capable.  Latency=128.  Min Gnt=1.Max Lat=42.
      Non-prefetchable 32 bit memory at 0xffffe000 [0xffffefff].
  Bus  0, device   1, function  1:
    USB Controller: Philips Semiconductors USB 1.1 Host Controller (#2) (rev
48).
      IRQ 26.
      Master Capable.  Latency=128.  Min Gnt=1.Max Lat=42.
      Non-prefetchable 32 bit memory at 0xffffd000 [0xffffdfff].
  Bus  0, device   1, function  2:
    USB Controller: Philips Semiconductors USB 2.0 Host Controller (rev 48).
      IRQ 26.
      Master Capable.  Latency=128.  Min Gnt=2.Max Lat=16.
      Non-prefetchable 32 bit memory at 0xffffcf00 [0xffffcfff].
  Bus  0, device   2, function  0:
    VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY
(rev 0).
      IRQ 25.
      Master Capable.  Latency=128.  Min Gnt=8.
      Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
      I/O at 0xff00 [0xffff].
      Non-prefetchable 32 bit memory at 0xefff0000 [0xefffffff].
  Bus  0, device   3, function  0:
    Multimedia audio controller: Cirrus Logic Crystal CS4281 PCI Audio (rev
1).
      IRQ 24.
      Master Capable.  Latency=128.  Min Gnt=4.Max Lat=24.
      Non-prefetchable 32 bit memory at 0xeffef000 [0xeffeffff].
      Non-prefetchable 32 bit memory at 0xeffd0000 [0xeffdffff].
  Bus  0, device   4, function  0:
    Unknown mass storage controller: Silicon Image, Inc. (formerly CMD
Technology Inc) SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 2).
      IRQ 23.
      Master Capable.  Latency=128.
      I/O at 0xfef8 [0xfeff].
      I/O at 0xfef4 [0xfef7].
      I/O at 0xfee8 [0xfeef].
      I/O at 0xfee4 [0xfee7].
      I/O at 0xfed0 [0xfedf].
      Non-prefetchable 32 bit memory at 0xeffcfc00 [0xeffcffff].
#




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to