Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261489AbTEEWc7 (ORCPT ); Mon, 5 May 2003 18:32:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261500AbTEEWc7 (ORCPT ); Mon, 5 May 2003 18:32:59 -0400 Received: from [217.157.19.70] ([217.157.19.70]:62736 "EHLO jehova.dsm.dk") by vger.kernel.org with ESMTP id S261489AbTEEWc6 (ORCPT ); Mon, 5 May 2003 18:32:58 -0400 Date: Tue, 6 May 2003 00:45:26 +0200 (CEST) From: Thomas Horsten X-X-Sender: thomas@jehova.dsm.dk To: Halil Demirezen cc: linux-kernel@vger.kernel.org Subject: Re: about bios In-Reply-To: <20030505225013.GA5375@bilmuh.ege.edu.tr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1078 Lines: 32 Hi Halil, On Tue, 6 May 2003, Halil Demirezen wrote: > I entered bios and disabled FDC and expected to linux > work still well with floppy, that is fd0. > > I thought that linux is not dependent on bios for using > fdc, hdc, and other things. I want to know how linux uses bios. > > does linux still depends on bios thing? No, it does not, but the floppy driver (drivers/block/floppy.c) looks at certain hardcoded IO addresses to see if there is a floppy controller or not. What you do in the BIOS does not only disable the BIOS calls for the floppy controller, it turns it completely off in the chipset (software disconnect) so it is never accessed with the IO access, and therefore is not detected. It would probably be possible to turn it on again in floppy.c, but it would be chipset dependent how to do it. Cheers, Thomas - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/