1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
o Use 32-bit unsigned types for things that really are 32-bit quantities,
  not bus_addr_t.  These are not the same as a bus_addr_t, so don't use
  that here.  Harmless on i386, introduced problems on sparc64.

Submitted by: jhb
This commit is contained in:
Warner Losh 2002-11-14 05:15:50 +00:00
parent 41e6d507ba
commit f02993557a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106898

View File

@ -132,8 +132,8 @@ struct pccard_function {
int number;
int function;
int last_config_index;
u_long ccr_base;
u_long ccr_mask;
uint32_t ccr_base; /* Offset with card's memory */
uint32_t ccr_mask;
struct resource *ccr_res;
int ccr_rid;
STAILQ_HEAD(, pccard_config_entry) cfe_head;
@ -146,9 +146,9 @@ struct pccard_function {
#define pf_ccrt pf_pcmh.memt
#define pf_ccrh pf_pcmh.memh
#define pf_ccr_realsize pf_pcmh.realsize
bus_addr_t pf_ccr_offset;
uint32_t pf_ccr_offset; /* Offset from ccr_base of CIS */
int pf_ccr_window;
long pf_mfc_iobase;
long pf_mfc_iobase; /* Right type? */
long pf_mfc_iomax;
int pf_flags;
driver_intr_t *intr_handler;