From owner-cvs-all Sun Dec 5 22:59:13 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8128F14DEE; Sun, 5 Dec 1999 22:59:11 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA73586; Sun, 5 Dec 1999 22:59:11 -0800 (PST) (envelope-from peter@FreeBSD.org) Message-Id: <199912060659.WAA73586@freefall.freebsd.org> From: Peter Wemm Date: Sun, 5 Dec 1999 22:59:11 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/isa fd.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1999/12/05 22:59:11 PST Modified files: sys/isa fd.c Log: Add a truely evil workaround (hack!) for some unfortunate BIOS programming practices. It seems that newer fdc chips have an alternative way of setting the transfer speed (including high speed modes for floppy tape) that doesn't use the control register (which we don't support - we use the old way only). So, they (the BIOS programmers) sometimes leave out the 0x3f6 control register from the PnP ports descriptor(!!). "Hey, it works with windows, so what's the problem?" :-( Anyway, this hack tries to compensate for that. This was discussed with dfr (who did the pnp attachment). Revision Changes Path 1.170 +24 -7 src/sys/isa/fd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message