From owner-cvs-all Wed Jul 22 03:28:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA00392 for cvs-all-outgoing; Wed, 22 Jul 1998 03:28:34 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA00174; Wed, 22 Jul 1998 03:27:56 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id UAA12125; Wed, 22 Jul 1998 20:27:35 +1000 Date: Wed, 22 Jul 1998 20:27:35 +1000 From: Bruce Evans Message-Id: <199807221027.UAA12125@godzilla.zeta.org.au> To: cvs-committers@FreeBSD.ORG, dfr@FreeBSD.ORG Subject: Re: cvs commit: src/sys/pci pcivar.h pci_compat.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > Modified files: > sys/pci pcivar.h pci_compat.c > Log: > On the alpha, ports may be allocated above 64k. > Change the port address argument to pci_map_port to pci_port_t* which is > defined as u_int on the alpha, u_short on i386. This is a stopgap with a > hopefully limited lifetime. > > Discussed with: Stefan Esser Most drivers use u_int16_t instead of u_short or pci_port_t for the port variable. if_lnc_p.c and if_tx.c are more broken - they use u_int[32_t] for the port variable and cast its address to (u_short *) to defeat the prototype for pci_map_port(). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message