Date: Wed, 22 Jul 1998 20:27:35 +1000 From: Bruce Evans <bde@zeta.org.au> To: cvs-committers@FreeBSD.ORG, dfr@FreeBSD.ORG Subject: Re: cvs commit: src/sys/pci pcivar.h pci_compat.c Message-ID: <199807221027.UAA12125@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> 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 <se@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807221027.UAA12125>