From owner-freebsd-multimedia Tue Nov 11 23:07:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA21012 for multimedia-outgoing; Tue, 11 Nov 1997 23:07:11 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA20995 for ; Tue, 11 Nov 1997 23:06:57 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA06172; Wed, 12 Nov 1997 06:57:15 +0100 From: Luigi Rizzo Message-Id: <199711120557.GAA06172@labinfo.iet.unipi.it> Subject: Re: Luigi's PnP in 2.2.5 -- problem To: conrads@neosoft.com Date: Wed, 12 Nov 1997 06:57:15 +0100 (MET) Cc: multimedia@FreeBSD.ORG In-Reply-To: from "Conrad Sabatier" at Nov 11, 97 07:15:17 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Patched my system, recompiled/installed dset, rebuilt kernel with "controller > pnp0". OK, fine. Now, here's the problem: > > Trying to manually configure my AWE 64 at boot time, the port addresses are not > being saved correctly. It seesm the high-order byte of each address is being > dropped. For example: yeah, the bug is in pnpinfo.c, there is a function, pnp_readw() or the like, which is incorrectly declared u_char instead of u_short. All the rest works right. Cheers Luigi