From owner-svn-src-head@FreeBSD.ORG Thu Dec 18 22:00:36 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6005D1065701; Thu, 18 Dec 2008 22:00:36 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: from mxf1.bahnhof.se (mxf1.bahnhof.se [213.80.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id B52E68FC1D; Thu, 18 Dec 2008 22:00:35 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: from localhost (mxf1.local [127.0.0.1]) by mxf1-reinject (Postfix) with ESMTP id 4B4C55C3B; Thu, 18 Dec 2008 23:00:33 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MXF1) X-Spam-Score: 2.777 X-Spam-Level: ** X-Spam-Status: No, score=2.777 tagged_above=-99 required=5 tests=[DNS_FROM_RFC_POST=1.708, SPF_NEUTRAL=1.069] Received: from mxf1.bahnhof.se ([127.0.0.1]) by localhost (mxf1.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XX6Fv2JN+pXA; Thu, 18 Dec 2008 23:00:31 +0100 (CET) Received: from [10.0.0.3] (h-85-24-219-30.NA.cust.bahnhof.se [85.24.219.30]) by mxf1.bahnhof.se (Postfix) with ESMTP id 22A305DDF; Thu, 18 Dec 2008 23:00:31 +0100 (CET) Received: from 127.0.0.1 (AVG SMTP 8.0.176 [270.9.19/1855]); Thu, 18 Dec 2008 23:00:28 +0100 Message-ID: <494AC7FC.8000805@gmail.com> Date: Thu, 18 Dec 2008 23:00:28 +0100 From: Niclas Zeising User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Alexander Motin References: <200812182113.mBILDkwt052441@svn.freebsd.org> <494AC475.20808@gmail.com> <494AC77A.5010609@FreeBSD.org> In-Reply-To: <494AC77A.5010609@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r186296 - head/sys/dev/ata/chipsets X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2008 22:00:36 -0000 Alexander Motin wrote: > Niclas Zeising wrote: >> Alexander Motin wrote: >>> Author: mav >>> Date: Thu Dec 18 21:13:46 2008 >>> New Revision: 186296 >>> URL: http://svn.freebsd.org/changeset/base/186296 >>> >>> Log: >>> Before modularization commit, atapci driver was attaching only to >>> devices of >>> storage class. This check was lost. It is not important for the >>> most cases, >>> but as it was reported on current@, it does important for sis >>> driver and >>> surely inportant for AHCI driver. So restore it there. >>> Submitted by: Toshikazu ICHINOSEKI, Andrey V. Elsukov >>> Discussed on: current@ >>> >>> --- head/sys/dev/ata/chipsets/ata-sis.c Thu Dec 18 21:04:50 >>> 2008 (r186295) >>> +++ head/sys/dev/ata/chipsets/ata-sis.c Thu Dec 18 21:13:46 >>> 2008 (r186296) >>> @@ -105,6 +105,9 @@ ata_sis_probe(device_t dev) >>> char buffer[64]; >>> int found = 0; >>> >>> + if (pci_get_class(dev) != PCIC_STORAGE) >>> + return (ENXIO); >>> + >>> if (pci_get_vendor(dev) != ATA_SIS_ID) >>> return ENXIO; >> >> With this change, am I able to boot from a harddrive located on a >> SiS-controller again? Or is that more likely a different issue? >> I have't investigated my issue properly due to lack of time, so I >> don't know exactly what's wrong, only that it can't find the hard >> drive properly. > > I have no idea what your problem is, I am just a man. :) But if your > problem appeared on 8-CURRENT about two months ago, then it may be it > and so may be solved. > The dates seems approximately correct... I'm about to do a little magic (i.e. shuffeling harddrives around and whatnot) to compile a new kernel with the change, hopefully it works :) //Niclas