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--