From owner-cvs-src-old@FreeBSD.ORG Mon Oct 27 08:40:50 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A70351065680 for ; Mon, 27 Oct 2008 08:40:50 +0000 (UTC) (envelope-from kato@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 956498FC1D for ; Mon, 27 Oct 2008 08:40:50 +0000 (UTC) (envelope-from kato@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m9R8elRN059791 for ; Mon, 27 Oct 2008 08:40:47 GMT (envelope-from kato@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m9R8ekdN059789 for cvs-src-old@freebsd.org; Mon, 27 Oct 2008 08:40:46 GMT (envelope-from kato@repoman.freebsd.org) Message-Id: <200810270840.m9R8ekdN059789@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kato@repoman.freebsd.org using -f From: KATO Takenori Date: Mon, 27 Oct 2008 08:40:13 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/pc98/pc98 pc98_machdep.c pc98_machdep.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2008 08:40:50 -0000 kato 2008-10-27 08:40:13 UTC FreeBSD src repository Modified files: sys/pc98/pc98 pc98_machdep.c pc98_machdep.h Log: SVN rev 184327 on 2008-10-27 08:40:13Z by kato Improved IDE HDD geometry adjustment. Previous code didn't work with certain ATA-6 drives including CF cards. The IDE geometry of the PC98 is calculated from the drive capacity. In addition to the algorithm in NEC BIOS, a variety of algorithms are provided by 3'rd party boards and BIOS hacks. This change has implemented the three algorithms: IDE BIOS compatible mode, SCSI BIOS compatible mode and same way as the previous version. The tunable machdep.ad_geom_method selects the algorithm. I have been using this change for a year with CF cards. Reminded by: nyan Revision Changes Path 1.29 +97 -7 src/sys/pc98/pc98/pc98_machdep.c 1.15 +15 -0 src/sys/pc98/pc98/pc98_machdep.h