Subject: Re: dev/pci/pccbb.c assumes bus_space_handle_t is integer
To: None <tn@catvmics.ne.jp>
From: Hayakawa Koichi <haya@arch.sony.co.jp>
List: tech-kern
Date: 03/11/2003 20:05:01
From: Takeshi Nakayama <tn@catvmics.ne.jp>
Subject: dev/pci/pccbb.c assumes bus_space_handle_t is integer
Date: Sat, 08 Mar 2003 06:45:03 +0900
Message-ID: <20030308064503X.tn@catvmics.ne.jp>

 > Hello,
 > 
 > I found the fact described in subject while writing the cardbus
 > support for sparc64.
 > 
 > On sparc64, bus_space_handle_t is structure, so it cannot assign 0,
 > nor compare by ==.
 > 
 > Therfore, I changed as attached for now, but I would like to avoid
 > the extra member to pccbb_softc.
 > 
 > Any ideas?

We can assign a bit at sc_flags.  This does not add any
extra member into the structure.
-- 
KH