On Fri, Jul 27, 2012 at 9:37 AM, Karel Zak wrote:
>
> The util-linux release v2.22-rc1 is available at
>
>ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.22/
>
> Feedback and bug reports, as always, are welcomed.
I'm still getting an empty /usr/share/man/ru/man1/, don't know if I'm
doing s
On my MacBook Air lfb_size is 4M, which makes the bitshit overflow, meaning we
fall back to efifb unnecessarily.
Cast to u64 to avoid the overflow.
Signed-off-by: Tom Gundersen
Reviewed-by: David Herrmann
Cc: Geert Uytterhoeven
Cc: H. Peter Anvin
Cc: Ingo Molnar
Cc: Stephen Warren ,
Cc
On Sat, Sep 7, 2013 at 4:08 PM, Tom Gundersen wrote:
> This is similar to the output printed by efifb.
>
> Signed-off-by: Tom Gundersen
> Acked-by: Stephen Warren
> Cc: David Herrmann
> ---
> v2: also print smem_len, as requested by David
> v3: don't cast
On Wed, Sep 4, 2013 at 11:27 AM, Tom Gundersen wrote:
> This allows the module to be autoloaded in the common case.
>
> In order to work on non-PnP systems the module should be compiled in or loaded
> unconditionally at boot (c.f. modules-load.d(5)), as before.
>
> Cc: Mat
The above commit causes a regression for me.
Booting with initcall_debug shows that bcma_modinit never returns:
calling bcma_modinit+0x0/0x33 [bcma] @ 210
bcma-pci-bridge :02:00.0: enabling device ( -> 0002)
bcma: bus0: Found chip with id 0xA8D8, rev 0x01 and package 0x08
Which means th
On Tue, Sep 17, 2013 at 10:02 PM, Hauke Mehrtens wrote:
> On 09/17/2013 09:11 PM, Tom Gundersen wrote:
>> The above commit causes a regression for me.
>>
>> Booting with initcall_debug shows that bcma_modinit never returns:
>>
>> calling bcma_modinit+0x0/0x33 [bc
This allows the module to be autoloaded in the common case.
In order to work on non-PnP systems the module should be compiled in or loaded
unconditionally at boot (c.f. modules-load.d(5)), as before.
Cc: Matthew Garrett
Cc: Dmitry Torokhov
Signed-off-by: Tom Gundersen
---
This appears to
12cbd60..f543240 100644
--- a/names.c
+++ b/names.c
@@ -3,6 +3,7 @@
* names.c -- USB name database manipulation routines
*
* Copyright (C) 1999, 2000 Thomas Sailer (sai...@ife.ee.ethz.ch)
+ * Copyright (C) 2013 Tom Gundersen (t...@jklm.no)
*
* This program is f
This lets you select hwdb support at compile time.
hwdb is an efficient hardware database shipped with recent versions of udev. It
contains
among other sources pci.ids so querying hwdb rather than reading pci.ids
directly should give
the same result.
Ideally Linux distros using udev could stop
On Wed, Sep 4, 2013 at 3:57 PM, Martin Mares wrote:
> Hello!
>
> First of all: Sorry for not replying to the first mail. I do not follow
> linux-pci too much these days (or, I do that in big batches).
No problem, I guessed as much.
>> This lets you select hwdb support at compile time.
>>
>> hwdb
lfb_size can easily be say 4M, which would make the bitshit overflow and
the test fail.
Signed-off-by: Tom Gundersen
Cc: David Herrmann
Cc: H. Peter Anvin
---
arch/x86/kernel/sysfb_simplefb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/sysfb_simplefb.c
This is similar to the output printed by efifb.
Signed-off-by: Tom Gundersen
Cc: Stephen Warren
Cc: David Herrmann
---
drivers/video/simplefb.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/video/simplefb.c b/drivers/video/simplefb.c
index 8d78106..4196686 100644
--- a
This is similar to the output printed by efifb.
Signed-off-by: Tom Gundersen
Cc: Stephen Warren
Cc: David Herrmann
---
Hi,
Sorry for the resend, got the ml address wrong.
-t
drivers/video/simplefb.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/video/simplefb.c b
On Fri, Sep 6, 2013 at 1:24 PM, David Herrmann wrote:
> Hi
>
> On Fri, Sep 6, 2013 at 12:59 PM, Geert Uytterhoeven
> wrote:
>> On Fri, Sep 6, 2013 at 11:55 AM, David Herrmann
>> wrote:
>>> On Fri, Sep 6, 2013 at 11:32 AM, Tom Gundersen wrote:
>>>&g
Hi guys,
With current git (v3.11-5058-g57d7309) I get the following oops:
[5.434312] [ cut here ]
[5.434318] WARNING: CPU: 2 PID: 199 at arch/x86/mm/ioremap.c:171
__ioremap_caller+0x2e3/0x390()
[5.434321] Info: mapping multiple BARs. Your kernel is fine.
[5
This is similar to the output printed by efifb.
Signed-off-by: Tom Gundersen
Acked-by: Stephen Warren
Cc: David Herrmann
---
v2: also print smem_len as requested by David
drivers/video/simplefb.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/video/simplefb.c b/drivers
On Sat, Sep 7, 2013 at 2:40 PM, David Herrmann wrote:
> On Fri, Sep 6, 2013 at 2:10 PM, Tom Gundersen wrote:
>> Hi guys,
>>
>> With current git (v3.11-5058-g57d7309) I get the following oops:
>>
>> [5.434312] [ cut here ]
>> [
This is similar to the output printed by efifb.
Signed-off-by: Tom Gundersen
Acked-by: Stephen Warren
Cc: David Herrmann
---
v2: also print smem_len, as requested by David
v3: don't cast, as requested by Geert
drivers/video/simplefb.c | 8
1 file changed, 8 insertions(+)
diff
Hi David,
On Sat, Sep 7, 2013 at 11:57 PM, Tom Gundersen wrote:
> On Sat, Sep 7, 2013 at 4:30 PM, David Herrmann wrote:
>> Attached are two patches. The first one should fix this issue, the
>> second one is the rebased ioremap_wc() patch from the other thread.
>>
>> D
On Sun, Sep 8, 2013 at 2:13 AM, David Herrmann wrote:
> Hi
>
> On Sun, Sep 8, 2013 at 1:22 AM, Tom Gundersen wrote:
>> Hi David,
>>
>> On Sat, Sep 7, 2013 at 11:57 PM, Tom Gundersen wrote:
>>> On Sat, Sep 7, 2013 at 4:30 PM, David Herrmann
>>> wr
Hi Marcel,
The above commit (60cbd53 in mainline) doesn't appear to work for me.
I.e., depmod does not create an entry in modules.devname and hence no
device node is created on boot.
If I understand correctly, you'd also need to create the correct
"char-major--" alias (which I don't think you can
Hi Konrad,
The above commit (c70bda9 in mainline) doesn't appear to work for me.
I.e., depmod does not create an entry in modules.devname and hence no
device node is created on boot.
If I understand correctly, you'd also need to create the correct
"char-major--" alias. But I don't really see how
on-demand
> auto-loading
>
> However, uhid uses dynamic minor numbers so this doesn't actually work. We
> need to load uhid to know which minor it's going to use.
>
> Hence, allocate a static minor (just like uinput does) and we're good
> to go.
>
> Repo
During the last merge window (3.12) a couple of modules gained devname
aliases, but without the necessary major and minor information. These were
then silently ignored when generating modules.devname.
Complain loudly to avoid such errors sneaking in undetected in the future:
depmod: ERROR: Mo
This allows udev (or more recently systemd-tmpfiles) to create /dev/cuse on
boot, in the same way as /dev/fuse is currently created, and the corresponding
module to be loaded on first access.
The corresponding functionalty was introduced for fuse in commit 578454f.
Signed-off-by: Tom Gundersen
This allows udev (or more recently systemd-tmpfiles) to create /dev/cuse on
boot, in the same way as /dev/fuse is currently created, and the corresponding
module to be loaded on first access.
The corresponding functionalty was introduced for fuse in commit 578454f.
Signed-off-by: Tom Gundersen
On Tue, Sep 10, 2013 at 4:01 PM, Lucas De Marchi
wrote:
> On Wed, Jul 24, 2013 at 11:03 PM, Herbert Xu
> wrote:
>> On Thu, Jul 25, 2013 at 09:32:02AM +0930, Rusty Russell wrote:
>>> Herbert Xu writes:
>>> > Hi Rusty:
>>> >
>>> > I don't know why this patch never went into the kernel, even
>>> >
This information can be found in /lib/modules/`uname -r`/modules.softdep, and
has only recently been exported by the kernel.
Also remove the advice about copying modules.softdep to /lib/modules as it is
not clear how to do this correctly with several kernels installed with
potentially conflicting
Hi Alan,
On Tue, Sep 10, 2013 at 7:02 PM, Alan Stern wrote:
> On Tue, 10 Sep 2013, Tom Gundersen wrote:
>
>> Support for specifying soft dependencies in the modules themselves was
>> introduced in commit 7cb14ba.
>>
>> In Arch we have always been shipping a module.d
fragment generated by depmod.
Signed-off-by: Tom Gundersen
Cc: Alan Stern
Cc: Greg Kroah-Hartman
---
drivers/usb/host/ohci-hcd.c | 1 +
drivers/usb/host/uhci-hcd.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
index 8f6b695
On Tue, Sep 10, 2013 at 7:31 PM, Alan Stern wrote:
> On Tue, 10 Sep 2013, Tom Gundersen wrote:
>
>> Hi Alan,
>>
>> On Tue, Sep 10, 2013 at 7:02 PM, Alan Stern
>> wrote:
>> > On Tue, 10 Sep 2013, Tom Gundersen wrote:
>> >
>> >> Suppor
fragment generated by depmod.
Signed-off-by: Tom Gundersen
Cc: Alan Stern
Cc: Greg Kroah-Hartman
---
v2: change the dependencies to *_pci, as suggested by Alan
drivers/usb/host/ohci-pci.c | 1 +
drivers/usb/host/uhci-pci.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/drivers/usb/host
On Fri, Sep 13, 2013 at 12:47 AM, Greg Kroah-Hartman
wrote:
> On Wed, Sep 04, 2013 at 02:47:07PM +0200, Tom Gundersen wrote:
>> Most of the information in usb.ids is now contained in udev's hwdb. Read the
>> information from the hwdb instead of usb.ids.
>>
>> This
On Wed, Sep 4, 2013 at 4:59 PM, Tom Gundersen wrote:
> On Wed, Sep 4, 2013 at 3:57 PM, Martin Mares wrote:
>> Hello!
>>
>> First of all: Sorry for not replying to the first mail. I do not follow
>> linux-pci too much these days (or, I do that in big batches).
>
&
EXPERT.
Moreover, building these drivers as modules gets rid of the following ugly
error during boot:
[2.337745] i8042: PNP: No PS/2 controller found. Probing ports directly.
[3.439537] i8042: No controller found
Signed-off-by: Tom Gundersen
Cc: Dmitry Torokhov
---
drivers/input
On Mon, Sep 2, 2013 at 11:30 PM, Geert Uytterhoeven
wrote:
> On Mon, Sep 2, 2013 at 11:01 PM, richard -rw- weinberger
> wrote:
>> On Mon, Sep 2, 2013 at 8:47 PM, Tom Gundersen wrote:
>>> There is plenty of consumer hardware (e.g., mac books) that does not use
>>>
Moust (if not all) modern software, including X, uses /dev/eventX rather than
the legacy /dev/mouseX devices. It therefore makes sense for general-purpose
(distro) kernels to use MOUSEDV=m (or even n), so let's drop the EXPERT=y
requirement.
Signed-off-by: Tom Gundersen
Cc: Dmitry Tor
Sorry, this resend was accidental, please ignore. I only intended to
send patch 2/2.
On Tue, Sep 3, 2013 at 3:40 PM, Tom Gundersen wrote:
> There is plenty of consumer hardware (e.g., mac books) that does not use
> AT keyboards or PS/2 mice. It therefore makes sense for distro kernels
>
EXPERT.
Moreover, building these drivers as modules gets rid of the following ugly
error during boot:
[2.337745] i8042: PNP: No PS/2 controller found. Probing ports directly.
[3.439537] i8042: No controller found
Signed-off-by: Tom Gundersen
Cc: Dmitry Torokhov
---
drivers/input
On Tue, Sep 3, 2013 at 5:02 PM, Matthew Garrett wrote:
> On Mon, Sep 02, 2013 at 08:47:10PM +0200, Tom Gundersen wrote:
>> There is plenty of consumer hardware (e.g., mac books) that does not use
>> AT keyboards or PS/2 mice. It therefore makes sense for distro kernels
>>
Hi Matt,
On Tue, Apr 16, 2013 at 11:41 PM, Matt Fleming wrote:
> This patch series introduces the new efivar_entry API, and splits out the
> major
> parts of efivars.c into new files. In particular, having the efivarfs code
> under fs/ allows building an efivarfs.ko module, which means mount(8)
On Tue, Aug 20, 2013 at 8:03 AM, Greg Kroah-Hartman
wrote:
> On Tue, Aug 20, 2013 at 07:59:47AM +0800, Tom Gundersen wrote:
>> Hi guys,
>>
>> Starting with 3.10.6 (and still present in .7) I get an oops on
>> connecting to the network.
>>
>> The attached
On Tue, Aug 20, 2013 at 12:56 PM, Felix Fietkau wrote:
> On 2013-08-20 2:28 AM, Greg Kroah-Hartman wrote:
>> On Tue, Aug 20, 2013 at 08:26:11AM +0800, Tom Gundersen wrote:
>>> On Tue, Aug 20, 2013 at 8:03 AM, Greg Kroah-Hartman
>>> wrote:
>>> > On Tue
On Tue, Aug 20, 2013 at 4:15 PM, Arend van Spriel wrote:
> On 08/20/2013 06:56 AM, Felix Fietkau wrote:
>>
>> On 2013-08-20 2:28 AM, Greg Kroah-Hartman wrote:
>>>
>>> On Tue, Aug 20, 2013 at 08:26:11AM +0800, Tom Gundersen wrote:
>>>>
>>>
hange would break new kernels as well
>> as old kernels.
>>
>> Since the kernel apparently can't count on reasonable userspace
>> support, turn this thing off by default.
>>
>> commit a3bd8447be4ea2ce230eb8ae0e815c04d85fa15a
>> Author: Tom Gundersen
>
On Tue, Aug 6, 2013 at 11:11 AM, Tom Gundersen wrote:
> On Tue, Aug 6, 2013 at 10:20 AM, Maarten Lankhorst
> wrote:
>> Op 05-08-13 18:29, Andy Lutomirski schreef:
>>> The systemd commit below can delay firmware loading by multiple
>>> minutes if CONFIG_FW_LOADER_US
Hi Michael,
On Mon, Jan 26, 2015 at 3:42 PM, Michael Kerrisk (man-pages)
wrote:
> 2. Is the API to be invoked directly by applications or is intended to
>be used only behind specific libraries? You seem to be saying that
>the latter is the case (here, I'm referring to your comment above
>
On Wed, Apr 15, 2015 at 2:09 PM, Jiri Kosina wrote:
> On Wed, 15 Apr 2015, Greg Kroah-Hartman wrote:
>
>> 'systemctl reboot' calls a bunch of other things to determine if you
>> have local access to the machine, or permissions to reboot the machine
>> (i.e. CAP_SYS_BOOT), and other things that pol
On 04/15/2015 10:22 PM, Andy Lutomirski wrote:
> On Wed, Apr 15, 2015 at 9:44 AM, Havoc Pennington wrote:
>> That is, with dbus if I send a broadcast message, then send a unicast
>> request to another client, then drop the connection causing the bus to
>> broadcast that I've dropped; then the othe
On Tue, Mar 31, 2015 at 3:58 PM, Andy Lutomirski wrote:
> On Mon, Mar 30, 2015 at 9:56 AM, David Herrmann wrote:
>> Hi
>>
>> On Wed, Mar 25, 2015 at 7:12 PM, Andy Lutomirski wrote:
>>> On Wed, Mar 25, 2015 at 10:29 AM, David Herrmann
>>> wrote:
>> [...]
> I could be wrong about the lack of
Linus,
[sorry for the messed up threading, I could not figure out how to make
gmail use in-relp-to]
> The point I'm slowly getting to is that I would actually love to have
> *distro* Kconfig-files, where the distribution would be able to say
> "These are the minimums I *require* to work". So we'd
over, it would be useful for udev to reliably know if some other
userspace process already renamed a device, so we know not to touch
it. This can easily happen for instance if some renaming happens in
the initrd or from script called from udev rules.
Acked-by: Tom Gundersen
> David Herrmann (4):
On Thu, Feb 27, 2014 at 4:47 PM, Tom Gundersen wrote:
> On Thu, Feb 27, 2014 at 3:47 PM, David Herrmann wrote:
>> This series implements a new sysfs attribute for netdevs called
>> "name_assign_type". It provides an integer that describes where an interface
>> name
On Wed, Feb 12, 2014 at 8:58 PM, Martin Mares wrote:
> Hi!
>
>> Ping?
>
> Sorry for the delay, I was alternatingly ill and overloaded with other
> stuff...
No worries. I hope you are better now.
> As I said before, I do not like the current implementation of hwdb much (it's
> too much tied to L
On Fri, Oct 4, 2013 at 2:26 PM, Tom Gundersen wrote:
> On Wed, Sep 4, 2013 at 11:27 AM, Tom Gundersen wrote:
>> This allows the module to be autoloaded in the common case.
>>
>> In order to work on non-PnP systems the module should be compiled in or
>> loaded
>
On Fri, Jul 18, 2014 at 1:19 AM, David Miller wrote:
> From: Tom Gundersen
> Date: Thu, 17 Jul 2014 10:06:04 +0200
>
>> @@ -192,8 +193,10 @@ int ieee802154_add_iface(struct sk_buff *skb, struct
>> genl_info *info)
>> if (devname[nla_len(info->attrs[
On Fri, Jul 18, 2014 at 1:20 AM, David Miller wrote:
> From: Tom Gundersen
> Date: Thu, 17 Jul 2014 10:06:05 +0200
>
>> @@ -2787,10 +2788,13 @@ static int gsm_create_network(struct gsm_dlci *dlci,
>> struct gsm_netconfig *nc)
>> pr_debug("create network
On Fri, Jul 18, 2014 at 12:55 PM, Yue Zhang wrote:
> From: Yue Zhang
>
> This patch addresses the comment from Olaf Hering and Greg KH
> for a previous commit 3a494e710367 ("hyperv: Add handler for
> RNDIS_STATUS_NETWORK_CHANGE event")
>
> In previous solution, the driver calls "network restart"
On Mon, Jul 21, 2014 at 12:21 PM, Yue Zhang (OSTC DEV)
wrote:
>> From: Tom Gundersen [mailto:t...@jklm.no]
>> Sent: Monday, July 21, 2014 5:42 PM
>>
>> On Fri, Jul 18, 2014 at 12:55 PM, Yue Zhang wrote:
>> > From: Yue Zhang
>> >
>> > This patch
Hi Johannes,
On Mon, Jul 21, 2014 at 11:40 AM, Johannes Berg
wrote:
> On Thu, 2014-07-10 at 10:17 +0200, Tom Gundersen wrote:
>> Pass the value down and set it at the same place the name itself is set.
>
> Is this going to be applied as part of one bigger series?
This patch i
On Wed, Sep 10, 2014 at 11:10 PM, Luis R. Rodriguez
wrote:
>>> More than two years
>>> have gone by on growing design and assumptions on top of that original
>>> commit. I'm not sure if *systemd folks* yet believe its was a design
>>> regression?
>>
>> I don't think so. udev should not allow its w
On Fri, Sep 12, 2014 at 12:26 AM, Luis R. Rodriguez
wrote:
> On Thu, Sep 11, 2014 at 2:43 PM, Tom Gundersen wrote:
>> How about simply introducing a new flag to finit_module() to indicate
>> that the caller does not care about asynchronicity. We could then pass
>> this fr
Hi Luis,
Thanks for the patches and the detailed analysis.
Feel free to add
Acked-by: Tom Gundersen
Minor comments on the commit message below.
On Fri, Sep 26, 2014 at 11:57 PM, Luis R. Rodriguez
wrote:
> From: "Luis R. Rodriguez"
>
> Some init systems may wish to ex
On Tue, Sep 30, 2014 at 4:27 AM, Luis R. Rodriguez wrote:
> On Sun, Sep 28, 2014 at 07:07:24PM +0200, Tom Gundersen wrote:
>> On Fri, Sep 26, 2014 at 11:57 PM, Luis R. Rodriguez
>> wrote:
>> > From: "Luis R. Rodriguez"
>> > Systemd has a general t
Enable the module alias hookup to allow tunnel modules to be autoloaded on
demand.
This is in line with how most other netdev kinds work, and will allow userspace
to create tunnels without having CAP_SYS_MODULE.
Signed-off-by: Tom Gundersen
Tested-by: Susant Sahani
---
net/ipv4/ipip.c
Enable the module alias hookup to allow tunnel modules to be autoloaded on
demand.
This is in line with how most other netdev kinds work, and will allow userspace
to create tunnels without having CAP_SYS_MODULE.
Signed-off-by: Tom Gundersen
---
v2: add ';'
Hi Dave,
I must have se
On Thu, May 15, 2014 at 11:32 PM, Stephen Hemminger
wrote:
> On Tue, 13 May 2014 10:48:28 +0200
> Tom Gundersen wrote:
>
>> Enable the module alias hookup to allow tunnel modules to be autoloaded on
>> demand.
>>
>> This is in line with how most other
minor documentation fixes
v9: move comment to the right commit
Signed-off-by: Tom Gundersen
Reviewed-by: David Herrmann
Reviewed-by: Kay Sievers
---
Documentation/ABI/testing/sysfs-class-net | 11 +++
include/linux/netdevice.h | 2 ++
include/uapi/linux/netdev
This passes down NET_NAME_USER (or NET_NAME_ENUM) to alloc_netdev(),
for any device created over rtnetlink.
v9: restore reverse-christmas-tree order of local variables
Signed-off-by: Tom Gundersen
---
drivers/net/veth.c | 11 ---
include/net/rtnetlink.h | 1 +
net/core
Based on a patch from David Herrmann.
This is the only place devices can be renamed.
v9: restore revers-christmas-tree order of local variables
Signed-off-by: Tom Gundersen
Reviewed-by: David Herrmann
---
net/core/dev.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/net/core
rror -2
>
> Example without FW_LOADER_USER_HELPER_FALLBACK
This ^^ should be "Example output with [...]" ?
Otherwise looks good, so:
Reviewed-by: Tom Gundersen
> platform fake-dev.0: Direct firmware load for fake.bin failed with error -2
> platform fake-dev.0: Falling back
eventually be dropped.
- introduce a new assign type NET_NAME_PREDICTABLE to indicate to
userspace that the kernel-assigned names are well-behaved.
Tom Gundersen (33):
net: add name_assign_type netdev attribute
net: set name assign type for renamed devices
net: set name_assign_type in
Such names should be NET_NAME_USER, in case the emptystring is given we
fallback to an enumerated name.
Signed-off-by: Tom Gundersen
---
drivers/net/bonding/bond_main.c | 3 ++-
drivers/net/tun.c | 9 ++---
drivers/tty/n_gsm.c | 10 +++---
net/atm/br2684.c
ff-by: Tom Gundersen
Reviewed-by: David Herrmann
Reviewed-by: Kay Sievers
---
Documentation/ABI/testing/sysfs-class-net | 11 +++
include/linux/netdevice.h | 2 ++
include/uapi/linux/netdevice.h| 6 ++
net/core/net-sysfs.c
Names are given by the first available X.25 channel, so order
of device creation matters.
Signed-off-by: Tom Gundersen
---
drivers/net/wan/x25_asy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wan/x25_asy.c b/drivers/net/wan/x25_asy.c
index df6c073
Names are given by the first available SLCAN channel, so order
of device creation matters.
Signed-off-by: Tom Gundersen
Cc: Wolfgang Grandegger
Cc: Marc Kleine-Budde
Cc: linux-...@vger.kernel.org
---
drivers/net/can/slcan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
Signed-off-by: Tom Gundersen
Cc: Pravin Shelar
Cc: d...@openvswitch.org
---
net/openvswitch/datapath.c | 1 +
net/openvswitch/vport-internal_dev.c | 2 +-
net/openvswitch/vport.h | 2 ++
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/net/openvswitch
Use the same assign type, as the name we are basing our new name on.
Signed-off-by: Tom Gundersen
Cc: Tom Tucker
Cc: Steve Wise
Cc: Roland Dreier
Cc: Sean Hefty
Cc: Hal Rosenstock
Cc: linux-r...@vger.kernel.org
---
drivers/infiniband/hw/amso1100/c2_provider.c | 2 +-
1 file changed, 1
The name is given by the firmware, so we assume it is predictable.
Signed-off-by: Tom Gundersen
Cc: Brett Rudley
Cc: Arend van Spriel
Cc: "Franky (Zhenhui) Lin"
Cc: Hante Meuleman
Cc: John Linville
Cc: linux-wirel...@vger.kernel.org
Cc: brcm80211-dev-l...@broadcom.com
---
d
Names are given by the first available SLIP channel, so order
of device creation matters.
Signed-off-by: Tom Gundersen
Cc: Tyler Hall
---
drivers/net/slip/slip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/slip/slip.c b/drivers/net/slip/slip.c
index 05387b1
it NET_NAME_USER.
Signed-off-by: Tom Gundersen
Cc: Paul Mackerras
Cc: linux-...@vger.kernel.org
---
drivers/net/ppp/ppp_generic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c
index 5c002b1..9757b52 100644
--- a/drivers/net/ppp
The name is given by the firmware, so we assume it is predictable.
Signed-off-by: Tom Gundersen
Cc: Fabian Godehardt
Cc: Florian Fainelli
---
net/dsa/dsa.c | 3 ++-
net/dsa/dsa_priv.h | 3 ++-
net/dsa/slave.c| 6 +++---
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a
The name is obtained from the 'hardware', so consider it predictable.
Signed-off-by: Tom Gundersen
Cc: Chris Metcalf
---
drivers/net/ethernet/tile/tilegx.c | 7 ---
drivers/net/ethernet/tile/tilepro.c | 13 +++--
2 files changed, 11 insertions(+), 9 deletions(-)
di
When deriving the name from the real device, inherit the assign type, otherwise
set PREDICTABLE as the name will be uniquely determined by the VLANID.
Signed-off-by: Tom Gundersen
Cc: Patrick McHardy
---
net/8021q/vlan.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a
When naming a device based on a combination of the parent device, and
the upsr-supplied key, inherit the name assign type from the parent.
Signed-off-by: Tom Gundersen
Cc: Roland Dreier
Cc: Sean Hefty
Cc: Hal Rosenstock
Cc: Erez Shitrit
Cc: Michal Schmidt
Cc: Jim Foraker
Cc: linux-r
The hamradio devices are created the same way with the same names on module
init time so should therefore be PREDICTABLE rather than ENUM.
Signed-off-by: Tom Gundersen
Cc: Thomas Sailer
Cc: Joerg Reuter
Cc: Jean-Paul Roubelat
Cc: Wenliang Fan
Cc: linux-h...@vger.kernel.org
---
drivers/net
Signed-off-by: Tom Gundersen
Cc: Samuel Ortiz
Cc: Dragos Foianu
---
include/net/irda/irlan_eth.h | 2 +-
net/irda/irlan/irlan_common.c | 2 +-
net/irda/irlan/irlan_eth.c| 7 ---
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/include/net/irda/irlan_eth.h b/include/net
Signed-off-by: Tom Gundersen
Cc: Karsten Keil
---
drivers/isdn/i4l/isdn_common.c | 4 ++--
drivers/isdn/i4l/isdn_net.c| 10 +-
drivers/isdn/i4l/isdn_net.h| 4 ++--
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/isdn/i4l/isdn_common.c b/drivers/isdn/i4l
Let the drivers pass in the name assign type. They all get the name as a module
parameter.
Signed-off-by: Tom Gundersen
Cc: Dan Carpenter
Cc: Paul Gortmaker
---
drivers/net/arcnet/arc-rimi.c | 2 +-
drivers/net/arcnet/arcnet.c | 8 ++--
drivers/net/arcnet/com20020-isa.c | 2
Signed-off-by: Tom Gundersen
Cc: Marek Lindner
Cc: Simon Wunderlich
Cc: Antonio Quartulli
Cc: b.a.t.m@lists.open-mesh.org
---
net/batman-adv/hard-interface.c | 5 +++--
net/batman-adv/hard-interface.h | 3 ++-
net/batman-adv/soft-interface.c | 9 ++---
net/batman-adv/soft-interface.h
The name contains then xen handle, which is not guaranteed to be
stable between restarts, so label this NET_NAME_ENUM.
Signed-off-by: Tom Gundersen
Cc: Ian Campbell
Cc: Wei Liu
Cc: xen-de...@lists.xenproject.org
---
drivers/net/xen-netback/interface.c | 4 ++--
1 file changed, 2 insertions
alloc_netdev is first called without a name, before the name and name assign
type is open-coded later.
Signed-off-by: Tom Gundersen
Cc: John Linville
Cc: linux-wirel...@vger.kernel.org
---
drivers/net/wireless/airo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless
Devices are named according to the scheme lteXpdnY, where Y is the
nic type, and X is the normal enumeration, so the scheme is NET_NAME_ENUM.
Signed-off-by: Tom Gundersen
Cc: Greg Kroah-Hartman
Cc: Won Kang
Cc: Rashika Kheria
Cc: de...@driverdev.osuosl.org
---
drivers/staging/gdm724x
The name is uniquely determined by the name of the TTY.
Signed-off-by: Tom Gundersen
Cc: Dmitry Tarnyagin
---
drivers/net/caif/caif_serial.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/caif/caif_serial.c b/drivers/net/caif/caif_serial.c
index 27bbc56
We have one device per routing table, so the naming is predictable.
Signed-off-by: Tom Gundersen
Cc: Alexey Kuznetsov
Cc: James Morris
Cc: Hideaki YOSHIFUJI
Cc: Patrick McHardy
---
net/ipv4/ipmr.c | 2 +-
net/ipv6/ip6mr.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
Signed-off-by: Tom Gundersen
---
drivers/net/veth.c | 11 ---
include/net/rtnetlink.h | 1 +
net/core/rtnetlink.c| 12
3 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/drivers/net/veth.c b/drivers/net/veth.c
index b4a10bc..5058700 100644
--- a
A given number of indistinguishable interfaces are allocated at init time, so
consider their names predictable.
Signed-off-by: Tom Gundersen
Cc: linux-h...@vger.kernel.org
---
net/rose/af_rose.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/rose/af_rose.c b/net/rose
A given number of indistinguishable interfaces are allocated at init time, so
consider their names predictable.
Signed-off-by: Tom Gundersen
Cc: Ralf Baechle
Cc: linux-h...@vger.kernel.org
---
net/netrom/af_netrom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/netrom
Pass the value down and set it at the same place the name itself is set.
Signed-off-by: Tom Gundersen
Cc: Johannes Berg
Cc: John Linville
---
drivers/net/wireless/ath/ath6kl/cfg80211.c| 6 --
drivers/net/wireless/ath/ath6kl/cfg80211.h| 1 +
drivers/net/wireless
A fixed number of indistinguishable dummy devices are allocated at module init
time,
the names are therefore PREDICTABLE rather than ENUM.
Signed-off-by: Tom Gundersen
Cc: dingtianhong
Cc: Tan Xiaojun
Cc: WANG Cong
---
drivers/net/dummy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
1 - 100 of 197 matches
Mail list logo