Date: Sat, 19 Jul 2003 14:41:33 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: freebsd-current@freebsd.org Subject: Re: cyclades isa card not recognized on 5-current ? Message-ID: <20030719142755.I25432@gamplex.bde.org> In-Reply-To: <Pine.BSF.4.53.0307182140240.45284@e0-0.zab2.int.zabbadoz.net> References: <Pine.BSF.4.53.0307171729270.15332@e0-0.zab2.int.zabbadoz.net> <Pine.BSF.4.53.0307182140240.45284@e0-0.zab2.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 Jul 2003, Bjoern A. Zeeb wrote:
> I have further digged into this and from what I can see
>
> --- cy.c:cy_units ---
> /* wait for the CD1400 to initialize itself */
> for (i = 0; i < 200; i++) {
> DELAY(50);
>
> /* retrieve firmware version */
> firmware_version = cd_inb(iobase, CD1400_GFRCR,
> cy_align);
> if ((firmware_version & 0xf0) == 0x40) {
> break;
> }
> }
> --- cut ---
>
> firmware_version always is 0xff.
This usually means that the maddr is wrong or that the hardware is not
there for some other reason. A normal hex dump of cyclades isa memory
looks something like this
(output from "dd if=/dev/mem bs=1 iseek=0xd4000 count=0x2000 | hd"):
%%%
00000000 00 00 00 00 00 00 82 82 00 00 00 00 00 00 00 00 |................|
00000010 13 13 00 00 06 06 08 08 00 00 26 26 00 00 00 00 |..........&&....|
00000020 00 00 34 34 00 00 00 00 00 00 10 10 10 10 a0 a0 |..44............|
00000030 18 18 26 26 00 00 00 00 00 00 00 00 08 08 00 00 |..&&............|
00000040 00 00 02 02 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000080 46 46 00 00 00 00 00 00 00 00 00 00 00 00 47 47 |FF............GG|
...
%%%
Values at even offsets are always repeated at the next (odd) offset.
CD1400_GFRCR is at offset 0x80 (contents 0x46 in the above).
> If I give another maddr in hints file than dip switches are set to
> kernel aborts somwhere in sioprobe(dev) and will reboot so I assume
> maddr really is set correct (also verified with cyclades manual
> y_30.pdf again).
The abort is a bit unusual since the cyclades probe is not very invasive.
> There is a "Rev 5" oder 5.0 on the card.
I think mine is much older (model 8Yb).
Did you say that it worked under old versions of FreeBSD?
Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030719142755.I25432>
