ata_blacklist.c revision 334edc4840d12dfd25a5559468cdd15a375cd111
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include "ata_blacklist.h"
pcibl_t ata_pciide_blacklist[] = {
/*
* The Nat SEMI PC87415 doesn't handle data and status byte
* synchornization correctly if an I/O error occurs that
* stops the request before the last sector. I think it can
* cause lockups. See section 7.4.5.3 of the PC87415 spec.
* It's also rumored to be a "single fifo" type chip that can't
* DMA on both channels correctly.
*/
/*
* The CMD chip 0x646 does not support the use of interrupt bit
* in the busmaster ide status register when PIO is used.
* DMA is explicitly disabled for this legacy chip
*/
/*
* Ditto for Serverworks CSB5, CSB6 and BCM5785[HT1000] chips,
* but we can handle DMA. Also, when emulating OSB4 mode,
* the simplex bit lies!
*/
/*
*/
/*
* simplex bit lies
*/
/*
* mobile)), the simplex bit lies
*/
/*
* mobile)), the simplex bit lies
*/
/*
*/
/*
* The ITE 8211F requires some special initialization to get DMA
* working that does not fit into the current ata driver model.
* This makes it work in PIO mode.
*/
{ 0, 0, 0, 0, 0 }
};
/*
* add drives that have DMA or other problems to this list
*/
atabl_t ata_drive_blacklist[] = {
{ "NEC CD-ROM DRIVE:260", ATA_BL_1SECTOR },
{ "NEC CD-ROM DRIVE:272", ATA_BL_1SECTOR },
{ "NEC CD-ROM DRIVE:273", ATA_BL_1SECTOR },
{ "fubar",
(ATA_BL_NODMA |
},
/* Known drives that have DMA problems */
{ "SAMSUNG CD-ROM SN-124", ATA_BL_NODMA },
{ "SAMSUNG CDRW/DVD SM-352F", ATA_BL_NODMA },
};