Re: Unable to boot on ECS K7S5A

From: Michael Moll <kvedulv_at_kvedulv.de>
Date: Mon, 24 Nov 2008 00:12:33 +0100
Hi Toshikazu,

On Mon, Nov 24, 2008 at 01:57:07AM +0900, Toshikazu ICHINOSEKI wrote:
> Following patch makes my box to boot again.
> 
> --- sys/dev/ata/chipsets/ata-sis.c.orig	2008-10-09 21:56:57.000000000 +0900
> +++ sys/dev/ata/chipsets/ata-sis.c	2008-11-18 21:48:12.000000000 +0900
> _at__at_ -108,6 +108,9 _at__at_
>      if (pci_get_vendor(dev) != ATA_SIS_ID)
>  	return ENXIO;
>  
> +    if (pci_get_class(dev) != PCIC_STORAGE)
> +	return ENXIO;
> +
>      if (!(idx = ata_find_chip(dev, ids, -pci_get_slot(dev)))) 
>  	return ENXIO;
>  

Works here also, Thanks a lot :)
-- 
Michael Moll
e-mail : kvedulv_at_kvedulv.de
  WWW  : http://www.kvedulv.de/
  GSM  : +49 175 606 7861
Received on Sun Nov 23 2008 - 22:12:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC