[okl4-developer] Device Driver Resource Allocation.
Minsub Lee
ssangbuja at gmail.com
Thu Jul 23 22:40:38 EST 2009
Hi
I'm developing SMC911x device driver in OKL4.
While doing this, I borrow form of vserial & uart_8250 driver.
There is question.
In vserial source code, there is
static mem_space_t iguana_granted_physmem[4] = {(mem_space_t)0xdeadbeaf};
static int iguana_granted_interrupt[4] = {0xfffff};
....
I printed iguana_granted_physmem and iguana_granted_interrupt from vserial.
It was some values that is defined in "platform/pxa/toos/machine.py"
I guess the variables are filled, by some mechanism.
so I added some way with vserial,
memory_net = [(0x-------), (0x------)]
interrupt_net = [xx]
v2_drivers = [ ....
(net_driver, "vnetwork", memory_net, interrupt_net)]
but iguana_granted_resource and iguana_granted_interrupt in vnetwork still
have 0x00.
Any suggestion?
--
View this message in context: http://n2.nabble.com/Device-Driver-Resource-Allocation.-tp3309336p3309336.html
Sent from the OKL4 Community Forum mailing list archive at Nabble.com.
More information about the Developer
mailing list