From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VkaSU-0007RZ-Ja for mharc-grub-devel@gnu.org; Sun, 24 Nov 2013 09:14:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkaSL-0007Cx-1I for grub-devel@gnu.org; Sun, 24 Nov 2013 09:14:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VkaSD-00046a-LN for grub-devel@gnu.org; Sun, 24 Nov 2013 09:14:36 -0500 Received: from mailout06.t-online.de ([194.25.134.19]:54365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkaSD-00046O-Bg for grub-devel@gnu.org; Sun, 24 Nov 2013 09:14:29 -0500 Received: from fwd28.aul.t-online.de (fwd28.aul.t-online.de ) by mailout06.t-online.de with smtp id 1VkaSA-0005Lu-Mg; Sun, 24 Nov 2013 15:14:26 +0100 Received: from [192.9.200.10] (b7fKx-Zr8hOe0Zp6VMIGoUe+MZ3TwpDcEUdqGd9LU729m+j5zuzLdM0Lgj9boXKZj7@[79.207.61.150]) by fwd28.t-online.de with esmtp id 1VkaS3-1cbhPk0; Sun, 24 Nov 2013 15:14:19 +0100 Message-ID: <529209BA.5030301@t-online.de> Date: Sun, 24 Nov 2013 15:14:18 +0100 From: CGC Bungetzianu User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: PATA module extension for ATA/RAID controller SIL680 Content-Type: multipart/alternative; boundary="------------070204070902020907090201" X-ID: b7fKx-Zr8hOe0Zp6VMIGoUe+MZ3TwpDcEUdqGd9LU729m+j5zuzLdM0Lgj9boXKZj7 X-TOI-MSGID: 5d396bde-b38d-4401-bb61-7f523d982b3d X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 194.25.134.19 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Nov 2013 14:14:44 -0000 This is a multi-part message in MIME format. --------------070204070902020907090201 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The controller SIL680 has the same register layout as other pata controllers. Only the PCI ID of the device is different. With minimal changes it can be integrated. Catalin 33,34d32 < #define GRUB_SIL680_PCIID 0x06801095 < 356d353 < int sil680 = 0; 369,372d365 < else if( pciid == GRUB_SIL680_PCIID) < { < sil680 = 1; < } 375c368 < if (!cs5536 && !sil680 && (class >> 16 != 0x0101)) --- > if (!cs5536 && (class >> 16 != 0x0101)) 386,387d378 < else if (sil680) < compat = 1; --------------070204070902020907090201 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit The controller SIL680 has the same register layout as other pata controllers.
Only the PCI ID of the device is different. With minimal changes it can be integrated.

Catalin


33,34d32

< #define GRUB_SIL680_PCIID 0x06801095
<
356d353
<   int sil680 = 0;
369,372d365
<   else if( pciid == GRUB_SIL680_PCIID)
<     {
<       sil680 = 1;
<     }
375c368
<   if (!cs5536 && !sil680 && (class >> 16 != 0x0101))
---
>   if (!cs5536 && (class >> 16 != 0x0101))
386,387d378
<       else if (sil680)
<     compat = 1;

--------------070204070902020907090201-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vke6k-00069O-4M for mharc-grub-devel@gnu.org; Sun, 24 Nov 2013 13:08:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vke6c-00069E-G5 for grub-devel@gnu.org; Sun, 24 Nov 2013 13:08:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vke6X-0007kN-4N for grub-devel@gnu.org; Sun, 24 Nov 2013 13:08:26 -0500 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:34260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vke6W-0007kH-RB for grub-devel@gnu.org; Sun, 24 Nov 2013 13:08:21 -0500 Received: by mail-wi0-f169.google.com with SMTP id hm6so3434089wib.2 for ; Sun, 24 Nov 2013 10:08:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=ncuiZnkByy/jNCkO2UO6UXfDFyPonjs32gPaJEtE8SE=; b=j43wrnBtNXwN4lfl3xVeKUq+FykPEpcZqeaspoDDtrcKamCwBoHJhopNm4P7QigGdf tS2DZs0B6fvFgnnoy20AVdnD/FcnU+nT5T7Ny2o3Hdba5ew321oTyLf1lGvhNrWKrxYv 6K5+OZWCuPywWzdynR8fWTJ70g6RSOxpsegeJKeE+nhxHnEM2rKCe8ESZ3pqGq4T8jS1 OTVWb+QhsYwRQeGmVULMexwHadRcTYHPDBY9/6GeYD6bkjeEijkaFouh4RfSgI3ih6qd mFK4xxqvWjZ/svSFS9vPRK8yCmVpBGP+yJ1tjxDRJ0GQyDTrvISYchqrRDnydtv4pNw+ /QkQ== X-Received: by 10.180.9.74 with SMTP id x10mr9728241wia.56.1385316500088; Sun, 24 Nov 2013 10:08:20 -0800 (PST) Received: from [192.168.1.121] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id e10sm16527143wiy.7.2013.11.24.10.08.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 24 Nov 2013 10:08:19 -0800 (PST) Message-ID: <52924093.9050309@gmail.com> Date: Sun, 24 Nov 2013 19:08:19 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: PATA module extension for ATA/RAID controller SIL680 References: <529209BA.5030301@t-online.de> In-Reply-To: <529209BA.5030301@t-online.de> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2AQNQTAKJIULJPPDLPINE" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::229 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Nov 2013 18:08:32 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2AQNQTAKJIULJPPDLPINE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 24.11.2013 15:14, CGC Bungetzianu wrote: > The controller SIL680 has the same register layout as other pata > controllers. > Only the PCI ID of the device is different. With minimal changes it can= > be integrated. >=20 Can you paste lspci -vvvnnxxx ? Usually using hardcoded adresses for PCI devices is wrong. > Catalin >=20 >=20 > 33,34d32 > < #define GRUB_SIL680_PCIID 0x06801095 > < > 356d353 > < int sil680 =3D 0; > 369,372d365 > < else if( pciid =3D=3D GRUB_SIL680_PCIID) > < { > < sil680 =3D 1; > < } > 375c368 > < if (!cs5536 && !sil680 && (class >> 16 !=3D 0x0101)) > --- >> if (!cs5536 && (class >> 16 !=3D 0x0101)) > 386,387d378 > < else if (sil680) > < compat =3D 1; >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 ------enig2AQNQTAKJIULJPPDLPINE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKSQJMACgkQmBXlbbo5nOtVBQD/dQdBxjCMPHvQGNYA0n158CRt 2r9CeKTkyyHbU5q3BNsBAIH50VSHB8uF/nQvmtLDPjT34hOLaDidE7UmXJFe5gK7 =fXc8 -----END PGP SIGNATURE----- ------enig2AQNQTAKJIULJPPDLPINE--