login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
14
Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jon Smirl
Subject:
Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem
Date: Monday, January 14, 2008 - 7:25 am
On 1/14/08, Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> wrote:
quoted text
> On Sun, 13 Jan 2008, Jon Smirl wrote: > > On 1/13/08, Jean Delvare <khali@linux-fr.org> wrote: > > > On Sun, 13 Jan 2008 11:26:07 -0500, Jon Smirl wrote: > > > > On 1/13/08, Jean Delvare <khali@linux-fr.org> wrote: > > > > > On Sun, 13 Jan 2008 10:14:14 -0500, Jon Smirl wrote: > > > > > > On 1/13/08, Jean Delvare <khali@linux-fr.org> wrote: > > > > > > > On Mon, 17 Dec 2007 21:39:37 -0500, Jon Smirl wrote: > > > > > > > > Follow on to: "Series to add device tree naming to i2c" > > > > > > > > Teach module-init-tools about the i2c subsystem. > > > > > > > > > > > > > > Can you please explain what this patch does and why it is needed? > > > > > > > > > > > > It generates the entries needed for the user space module tools to > > > > > > work with the aliases. For example modprobe/depmod. It is a standard > > > > > > part of the kernel module system. > > > > > > > > > > What entries, where? What can you do after applying your patch that you > > > > > couldn't do before? > > > > > > > > The drivers you are testing with don't depend on other drivers. > > > > > > They do. I'm testing with the lm90 driver, which depends on the hwmon > > > driver. Both load automatically when the underlying i2c-parport driver > > > instantiate an "adm1032" i2c device. > > > > I don't know exactly what those modules tables are used for. I just > > copied what the other subsystems do. Maybe they are used when you make > > an initrd to know which drivers to copy into the image. > > Module-init-tools needs those table to create module aliases in the *.ko > files from the MODULE_DEVICE_TABLE(), so udev can load the modules based > on the device IDs when the devices appear in sysfs. > > That's the generic part. How this applies to i2c devices on platforms > without Open Firmware device trees is another question. I guess that's > where Jean gets confused (i2c_device_id got _removed_ last year, > because it didn't make sense (at the time?)).
Last year i2c modules weren't dynamically loadable so it wasn't needed.
quoted text
> > With kind regards, > > Geert Uytterhoeven > Software Architect > > Sony Network and Software Technology Center Europe > The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium > > Phone: +32 (0)2 700 8453 > Fax: +32 (0)2 700 8622 > E-mail:
Geert.Uytterhoeven@sonycom.com
> Internet:
http://www.sony-europe.com/
> > Sony Network and Software Technology Center Europe > A division of Sony Service Centre (Europe) N.V. > Registered office: Technologielaan 7 · B-1840 Londerzeel · Belgium > VAT BE 0413.825.160 · RPR Brussels > Fortis Bank Zaventem · Swift GEBABEBB08A · IBAN BE39001382358619
-- Jon Smirl
jonsmirl@gmail.com
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: [i2c] [PATCH] update module-init-tools to support the ...
, Jean Delvare
, (Sun Jan 13, 7:27 am)
Re: [i2c] [PATCH] update module-init-tools to support the ...
, Jon Smirl
, (Sun Jan 13, 8:14 am)
Re: [i2c] [PATCH] update module-init-tools to support the ...
, Jean Delvare
, (Sun Jan 13, 8:35 am)
Re: [i2c] [PATCH] update module-init-tools to support the ...
, Jon Smirl
, (Sun Jan 13, 9:26 am)
Re: [i2c] [PATCH] update module-init-tools to support the ...
, Jean Delvare
, (Sun Jan 13, 10:43 am)
Re: [i2c] [PATCH] update module-init-tools to support the ...
, Jon Smirl
, (Sun Jan 13, 11:04 am)
Re: [i2c] [PATCH] update module-init-tools to support the ...
, Geert Uytterhoeven
, (Mon Jan 14, 3:57 am)
Re: [i2c] [PATCH] update module-init-tools to support the ...
, Jon Smirl
, (Mon Jan 14, 7:25 am)
Re: [i2c] [PATCH] update module-init-tools to support the ...
, Jean Delvare
, (Mon Jan 14, 9:38 am)
Re: [i2c] [PATCH] update module-init-tools to support the ...
, Geert Uytterhoeven
, (Mon Jan 14, 10:08 am)
Re: [i2c] [PATCH] update module-init-tools to support the ...
, Jean Delvare
, (Mon Jan 14, 10:50 am)
Re: [i2c] [PATCH] update module-init-tools to support the ...
, Kay Sievers
, (Mon Jan 14, 12:38 pm)
Re: [i2c] [PATCH] update module-init-tools to support the ...
, Jean Delvare
, (Mon Jan 14, 12:46 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Trenton D. Adams
Re: Flash IO slow 1.5 MB/s
Alan Cox
Re: Please add ZFS support (from GPL sources)
S K
Re: cpufreq doesn't seem to work in Intel Q9300
Bart Van Assche
Re: Is gcc thread-unsafe?
Mingming Cao
Re: [PATCH 4/5] ext4: fallocate support in ext4
git
:
Junio C Hamano
Re: git-svnimport
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Mark Burton
Re: Sporadic BSOD with msys git?
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
sm501: add power control callback
Linux Kernel Mailing List
net: don't grab a mutex within a timer context in gianfar
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
linux-netdev
:
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
David Miller
Re: [RFC 0/5] generic rx recycling
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Jeff Kirsher
[net-2.6 PATCH 2/5] e1000e: increase swflag acquisition timeout for ICHx/PCH
openbsd-misc
:
daniele.pilenga
snmpd hangs on 4.1 looking up hrSWRunTable
Christophe Rioux
Implementation example of snmp
Nick Holland
Re: booting openbsd on eee without cd-rom
Cabillot Julien
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA
Nice Daemon
Re: Bind ntpd on certain interface?
Colocation donated by:
Syndicate