Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Feb 2005 09:01:16 -0000 (GMT)
From:      "wsk" <wsk@catholic.org>
To:        "John Baldwin" <jhb@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: <SOLEVD> Rocketport uPCI ioaddr mapping failed under  FreeBSD-5.3&CURRENT
Message-ID:  <64443.211.96.21.195.1107594076.squirrel@webmail.catholic.org>
In-Reply-To: <200502031304.41476.jhb@FreeBSD.org>
References:  <57062.211.96.21.195.1106558752.squirrel@webmail.catholic.org> <200502031304.41476.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Monday 24 January 2005 04:25 am, wsk wrote:
>> hi,folks:
>>
>>   after installed RocketPort uPCI card into my box;it
>> dumps the follow eror msgs:
>>
>> rp0: <RocketPort PCI> port 0xde00-0xdeff,0xdd80-0xddff mem
>> 0xfcedff80-0xfcedffff
>> irq 19 at device 10.0 on pci2
>> rp0: failed: rid 0x10 is memory, requested 4
>> rp0: ioaddr mapping failed for RocketPort(PCI).
>> device_attach: rp0 attach returned 6
>
> Looks like you need to change the driver to map its io addresses from a
> different BAR for this chip ID since BAR 0 is memory, not I/O.  I'm not
> sure
> this driver will work with this card, btw, but you can try changing this
> line
> in the attach function of sys/dev/rp/rp_pci.c:
>
>         ctlp->io_rid[0] = 0x10;
>
> to use either '0x14' or '0x18' rather than '0x10' and see if it >works.

  It must use '0x18' . or the driver can't map the ports:
here'is my boot mesgs by set '0x14'
Feb  5 16:21:20 wsk kernel: rp0: <RocketPort PCI> port
0xde00-0xdeff,0xdd80-0xddff mem 0xfcedff80-0xfcedffff irq 19 at device
10.0 on pci2
Feb  5 16:21:20 wsk kernel: RocketPort0 (Version 3.02) 0 ports.
and after set '0x18'. the boot mesgs:
Feb  5 16:47:59 wsk kernel: rp0: <RocketPort PCI> port
0xde00-0xdeff,0xdd80-0xddff mem 0xfcedff80-0xfcedffff irq 19 at device
10.0 on pci2
Feb  5 16:47:59 wsk kernel: RocketPort0 (Version 3.02) 8 ports.
and thanks again


-----------------------------------------
This email was sent using FREE Catholic Online Webmail!
http://webmail.catholic.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64443.211.96.21.195.1107594076.squirrel>