-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John Baldwin wrote:
On Saturday 05 August 2006 10:06, Niki Denev wrote:
for(i=0; i sizeof(config_table_t); i++) {
r = bus_space_read_1(sc-bar.tag, sc-bar.hdl, i);
*((u_int8_t *)sc-cfg_table + i) = r;
Niki Denev wrote this message on Sat, Aug 12, 2006 at 11:42 +0300:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John Baldwin wrote:
On Saturday 05 August 2006 10:06, Niki Denev wrote:
for(i=0; i sizeof(config_table_t); i++) {
r = bus_space_read_1(sc-bar.tag, sc-bar.hdl,
John-Mark Gurney writes:
No, read_multi reads from the same location every time.. This is for
things like a FIFO where the value can change each time, you want
bus_read_region_1... Read the bus_space(9) man page for more info
about the differences between the two...
On Monday 07 August 2006 18:05, John-Mark Gurney wrote:
John Baldwin wrote this message on Mon, Aug 07, 2006 at 15:27 -0400:
sc-cfg_table.signature = letoh32(bus_read_4(sc-bar.res, 0));
sc-cfg_table.version = letoh16(bus_read_2(sc-bar.res, 4));
sc-cfg_table.dummy =
John Baldwin wrote this message on Tue, Aug 08, 2006 at 13:42 -0400:
On Monday 07 August 2006 18:05, John-Mark Gurney wrote:
John Baldwin wrote this message on Mon, Aug 07, 2006 at 15:27 -0400:
sc-cfg_table.signature = letoh32(bus_read_4(sc-bar.res, 0));
sc-cfg_table.version =
On Saturday 05 August 2006 10:06, Niki Denev wrote:
for(i=0; i sizeof(config_table_t); i++) {
r = bus_space_read_1(sc-bar.tag, sc-bar.hdl, i);
*((u_int8_t *)sc-cfg_table + i) = r;
}
Note that you can replace this with:
On Monday 07 August 2006 22:27, John Baldwin wrote:
On Saturday 05 August 2006 10:06, Niki Denev wrote:
for(i=0; i sizeof(config_table_t); i++) {
r = bus_space_read_1(sc-bar.tag, sc-bar.hdl, i);
*((u_int8_t *)sc-cfg_table + i) = r;
}
Note that
John Baldwin wrote this message on Mon, Aug 07, 2006 at 15:27 -0400:
sc-cfg_table.signature = letoh32(bus_read_4(sc-bar.res, 0));
sc-cfg_table.version = letoh16(bus_read_2(sc-bar.res, 4));
sc-cfg_table.dummy = bus_read_1(sc-bar.res, 5);
Note that this may or may not be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I'm trying to port a linux driver to freebsd (hsdpa/umts nozomi card),
and i'm experiencing some really weird problem... probably due to my limited
kernel knowledge/experience.
Here it is the attach routine, which tries to read a portion of the
9 matches
Mail list logo