I need a strategy for handling unregistered parent devices.
struct device *parent = get_ptr_to_parent();
struct device *child = kzalloc ( a device )
child-parent = get_device(parent);
...
device_register(child)
Later on:
struct device *parent = get_ptr_to_parent();
device_unregister(parent);
Hi Michael,
You can use binary utils like nm or objdump to exam your vmlinux.
Linker collects initcall functions and puts them in initcall section.
Kernel can find all initcall functions in initcall section.
Regards,
MH
On Fri, Jan 10, 2014 at 3:00 AM, m silverstri
I create a new config with my Kconfig, like this:
config VIDEO_MY_DRIVER
bool my driver
default y
depends on VIDEO_DEV VIDEO_V4L2
select V4L2_MEM2MEM_DEV
---help---
This is a my driver
When I run 'make menuconfig' and when I search for
'CONFIG_VIDEO_MY_DRIVER', I See
On 10 Jan 2014 20:52, m silverstri michael.j.silvers...@gmail.com wrote:
When I run 'make menuconfig' and when I search for
'CONFIG_VIDEO_MY_DRIVER', I See it.
Symbol: VIDEO_MY_DRIVER [=n]
│ Type : boolean
│ Prompt: my driver
│
│ Location:
│ - Device Drivers
│ (1) -
Thanks. Under which menu/sub-menu are there Configuration I should go
and enable them?
I don't see where to go under the menu after I search them:
Symbol: VIDEO_V4L2 [=n]
│ Type : tristate
│ Defined at drivers/media/v4l2-core/Kconfig:6
│ Depends on: MEDIA_SUPPORT [=y] (I2C [=y] || I2C
On 10 Jan 2014 21:10, m silverstri michael.j.silvers...@gmail.com wrote:
Thanks. Under which menu/sub-menu are there Configuration I should go
and enable them?
I'm not in front of my computer, so I can't really check it... However,
look at what the different options depend on.
I don't see
Thanks.
I need help in enable VIDEOBUF2_CORE
Symbol: VIDEOBUF2_CORE [=n]
│ Type : tristate
│
Defined at drivers/media/v4l2-core/Kconfig:61
│ Depends on: MEDIA_SUPPORT [=y]
│ Selects: DMA_SHARED_BUFFER [=n]
│
Hi,
I am a newbie to kernel hacking and I have a question. Am trying to patch
the Network Subsystem and changing the net_random() to direct calls of
prandom_u32. Why ? Because it is
harder to audit / grep and new commits actually use prandom_u32 only am
told.
u32 prandom_u32(void);/* defined
I am facing the following error message when i try to compile my kernel
module.
it is a simple hello world module
make: Entering directory `/usr/src/linux-3.4.6-2.10'
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are
missing.
hi all:
is it possible to determine interrupt latency in kernel with any ftrace or proc?
--
Regards,
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
10 matches
Mail list logo