Subject: Re: dev/pci/pccbb.c assumes bus_space_handle_t is integer
To: None <firstname.lastname@example.org>
From: Hayakawa Koichi <email@example.com>
Date: 03/11/2003 20:05:01
From: Takeshi Nakayama <firstname.lastname@example.org>
Subject: dev/pci/pccbb.c assumes bus_space_handle_t is integer
Date: Sat, 08 Mar 2003 06:45:03 +0900
> 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.