linux-kernel mailing list

FromSubjectsort iconDate
Francois Romieu
[RFT] r8169 changes against 2.6.22-rc6
The latest serie of r8169 changes is available against 2.6.22-rc6 as: http://www.fr.zoreil.com/people/francois/misc/20070628-2.6.22-rc6-r8169-test.patch or (tarball sits one level higher): http://www.fr.zoreil.com/linux/kernel/2.6.x/2.6.22-rc6/r8169-20070628/ or (rebase prone branch) git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6.git#r8169 Please do not clone your whole git kernel tree from here, thanks. Changes (most recent first): - perform RX config change after mac filteri...
Jun 28, 7:42 pm 2007
Con Kolivas
Wrong cache size reported on Q6600
This is a Q6600 which has cache size of 8 MB. Unless it's reporting each half's effective L2, I think it should be reporting 8192 instead of 4096. On 2.6.22-rc6: cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Quad CPU @ 2.40GHz stepping : 7 cpu MHz : 2401.919 cache size : 4096 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 4 ...
Jun 28, 7:31 pm 2007
Siddha, Suresh B
Re: Wrong cache size reported on Q6600
There are two L2's, each of 4MB. Each L2 shared by two cores. thanks, -
Jun 28, 7:33 pm 2007
Con Kolivas
Re: Wrong cache size reported on Q6600
That was what I wasn't sure of as I said above; thanks for clarifying. -- -ck -
Jun 28, 7:57 pm 2007
Kyle McMartin
Re: Wrong cache size reported on Q6600
Each pair of cores appears to get 4MB of L2, according to the product brief PDF on Intel's website. Cheers, Kyle -
Jun 28, 7:25 pm 2007
Randy Dunlap
[PATCH] pci.h stubs (for EDD build error)
Did those -- patch is below. Get clean build of drivers/firmware/edd.c with this patch From: Randy Dunlap <randy.dunlap@oracle.com> Provide stubs for more PCI bus/slot functions when CONFIG_PCI=n. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- include/linux/pci.h | 11 +++++++++++ 1 file changed, 11 insertions(+) --- linux-2622-rc6.orig/include/linux/pci.h +++ linux-2622-rc6/include/linux/pci.h @@ -748,6 +748,17 @@ static inline void pci_release_regions(s ...
Jun 28, 7:25 pm 2007
Robert Hancock
Re: speedstep-centrino (no such device)
I believe acpi-cpufreq is preferred over speedstep-centrino in most cases today, does that work? -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/ -
Jun 28, 7:23 pm 2007
Robert Hancock
Re: Unable to change sata NCQ depth due to readonly /sys/blo...
Looks like sata_nv is missing the change_queue_depth function in the SCSI host template, resulting in this file showing as read-only. I'll cook up a patch when I get a chance. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/ -
Jun 28, 7:20 pm 2007
Steven Rostedt
[PATCH RT] Move RECURSION_LIMIT define up for global use.
Ingo, If one has CONFIG_PROVE_LOCKING off but CONFIG_TRACE_IRQFLAGS on, the RECURSION_LIMIT definition is not defined. This patch move RECURSION_LIMIT up for global use. Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Index: linux-2.6.21.5-rt18/kernel/lockdep.c =================================================================== --- linux-2.6.21.5-rt18.orig/kernel/lockdep.c 2007-06-28 18:36:32.000000000 -0400 +++ linux-2.6.21.5-rt18/kernel/lockdep.c 2007-06-28 18:36:51.000000000 -0...
Jun 28, 6:49 pm 2007
Steven Rostedt
Re: [PATCH RT] Move RECURSION_LIMIT define up for global use.
Arg, this wasn't good enough. Here's a better patch (drop the previous one please). I also added a ifdef that removes a warning of unused static function. Thanks, Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Index: linux-2.6.21.5-rt18/kernel/lockdep.c =================================================================== --- linux-2.6.21.5-rt18.orig/kernel/lockdep.c 2007-06-28 18:36:32.000000000 -0400 +++ linux-2.6.21.5-rt18/kernel/lockdep.c 2007-06-28 19:30:43.000000000 -040...
Jun 28, 7:38 pm 2007
Steven Rostedt
[PATCH RT] Don't allow non-threaded softirqs and threaded ha...
Ingo, I think this was sent before, and it did cause problems before. Would there be *any* reason to have non-threaded softirqs but threaded hardirqs. I can see lots of issues with that. This patch has selecting hardirqs also select softirqs as threads. Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Index: linux-2.6.21.5-rt18/kernel/Kconfig.preempt =================================================================== --- linux-2.6.21.5-rt18.orig/kernel/Kconfig.preempt 2007-06-28 1...
Jun 28, 6:46 pm 2007
Rafael J. Wysocki
[PATCH] PM: Reduce code duplication between main.c and user....
[Update is needed because of pm-introduce-set_target-method-in-pm_ops.patch] --- From: Rafael J. Wysocki <rjw@sisk.pl> The SNAPSHOT_S2RAM ioctl code is outdated and it should not duplicate the suspend code in kernel/power/main.c. Fix that. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> --- kernel/power/main.c | 99 ++++++++++++++++++++++++++++----------------------- kernel/power/power.h | 3 + kernel/power/user.c | 38 ++-------...
Jun 28, 6:23 pm 2007
Joshua Wise
[PATCH] Info dump on Oops or panic()
From: Joshua Wise <jwise@google.com> Background: When managing a large number of servers, as Google does, it's sometimes useful to get an "at-a-glance" view of a machine when it crashes. When no other post-mortem is possible, it's often useful to know how long the machine has been powered on, which kernel it was running, and possibly other information that a driver may have logged. Up until now, there was no real way to do this other than to keep statistics outside to the machine....
Jun 28, 6:05 pm 2007
Kyle McMartin
Re: [PATCH] Info dump on Oops or panic()
woah woah woah. This could push critical bits of the register dump or stacktrace off the screen... Barring any other problems with the patch, this should probably be dumped in the oops header, not trailing it where it could hide critical debugging info. Regards, Kyle M. -
Jun 28, 6:18 pm 2007
Mike Frysinger
Re: [PATCH] Info dump on Oops or panic()
on the flip side, poorly written chained funcs could oops thus preventing the good info (like stacktrace) from being shown ... -mike -
Jun 28, 7:54 pm 2007
Joshua Wise
Re: [PATCH] [revised -- version 2] Info dump on Oops or pani...
Okay, fair enough. Fixed version follows. I also fixed some checkpatch issues that I missed before. However, please note that in general, the info dumped by this will consist of only a few lines. In our implementations, I believe that we only dump one line per notifier. joshua -- From: Joshua Wise <jwise@google.com> Version: 2 Background: When managing a large number of servers, as Google does, it's sometimes useful to get an "at-a-glance" view of a machine when it crashes. ...
Jun 28, 7:12 pm 2007
Andrew Morton
Re: [PATCH] [revised -- version 2] Info dump on Oops or pani...
On Thu, 28 Jun 2007 16:12:23 -0700 (PDT) Your email client is doing space-stuffing. It's easy enough to fix at this I worry a bit about doing _anything_ extra at oops-time. It just decreases the chances of the kernel generating the info which we want. So... Please consider abandoning the notifier-chain and just go for a simple function call. If people want to add extra goodies later on, well, they need to patch the kernel anyway so they can patch your newly-added function rather than ...
Jun 28, 7:48 pm 2007
Randy Dunlap
[PATCH] ALSA: more section mismatches
From: Randy Dunlap <randy.dunlap@oracle.com> Fix section mismatch warnings: WARNING: sound/built-in.o(.exit.text+0x3ad): Section mismatch: reference to .init.text: (between 'sb_exit' and 'unload_uart6850') WARNING: sound/built-in.o(.exit.text+0x753): Section mismatch: reference to .init.text: (between 'snd_mts64_module_exit' and 'snd_portman_module_exit') Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- sound/drivers/mts64.c | 2 +- sound/oss/sb_card.c | 2 +- 2 f...
Jun 28, 6:05 pm 2007
Andrew Morton
Re: [PATCH] ALSA: more section mismatches
On Thu, 28 Jun 2007 15:05:15 -0700 Well this is called from __exit, so __init_or_module isn't right. But we One of these is alsa and the other isn't. But what the heck: obviously safe, I'll slam it all in. -
Jun 28, 6:39 pm 2007
Adrian Bunk
Re: [PATCH] ALSA: more section mismatches
No, it's correct. It simply says that this code can only be discarted after initialization if it's not a module, since it's also used from __exit code. The idea behind __init_or_module is that __exit code is never executed for non-modular code, and such cases where some function is executed both by both __init and __exit and never from other code aren't that unusual. I'm not sure how realistic it is, but it would be best if we could at some point in the future simply give gcc a few basic...
Jun 28, 7:49 pm 2007
DervishD
USB card reader and HAL
Hi all :) I have a new card reader (internal) but I've tested with my old one too: the same happens. I have a do-it-yourself linux box, self compiled kernel 2.6.19.5 (by now). When I insert a card in the reader, it is not detected, no udev event is generated and I have to do things like "hdparm -z /dev/sda" to "probe" the card. Moreover, I have to do the same when removing the card or the /dev/sdaX nodes are not deleted. Is HAL the only way of making it work? Is there any CONFI...
Jun 28, 5:43 pm 2007
Turbo Fredriksson
Moving MD/LVM from PPC to x86
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm trying to move some disks from my PPC desktop to a dedicated server. Yesterday my system looked like this: 1. /dev/md0 372.61Gb (sda1+missing) 2. /dev/hdb 74.53Gb 3. /dev/sdb 298.09Gb Now with the paycheck, I bought a third SATA disk (400Gb). I new from the start that disk wouldn't fit in my desktopbox, so I also bought a 500W PSU (I had a huge server case without PSU from previously). I was a little impatient, so I adde...
Jun 28, 5:02 pm 2007
Davide Libenzi
[patch 3/4] MAP_NOZERO v2 - wire sys_brk2() to the x86 family
Wires up sys_brk2() to the x86 family. Signed-off-by: Davide Libenzi <davidel@xmailserver.org> - Davide --- arch/i386/kernel/syscall_table.S | 1 + arch/x86_64/ia32/ia32entry.S | 1 + include/asm-i386/unistd.h | 3 ++- include/asm-x86_64/unistd.h | 2 ++ 4 files changed, 6 insertions(+), 1 deletion(-) Index: linux-2.6.mod/arch/i386/kernel/syscall_table.S =================================================================== --- linux-2.6.mod.orig/ar...
Jun 28, 2:49 pm 2007
Davide Libenzi
[patch 1/4] MAP_NOZERO v2 - implement a new VM_NOZERO/MAP_NO...
This is the core implementation of the new VM_NOZERO page retirement policy (and the associated MAP_NOZERO). A new field owner_uid is added the the mm_struct, and it is kept set to the effective UID of the task that own the mm_struct. At the moment, the patch re-uses the _mapcount member of the struct page to store the last owner UID. This avoids increasing the struct page size. When pages exit (unmapped from) a vma, they are marked with the effective UID of the mm_struct that owns it. When p...
Jun 28, 2:49 pm 2007
Davide Libenzi
[patch 4/4] MAP_NOZERO v2 - avoid ptrace/setuid+exec races
It can happen that a root application doing: setuid(newuid); <- ptrace_attach(); exec(...); exit(1); is raced by an application running under "newuid" and is ptrace-attached and its memory is peek/poke. The patch add a new "exec uid" that is set only after the complete detach from the old process context is done. The ptrace's may_attach() function is also changed to check that the attacher xuid matches the attached xuid. Signed-off-by: Davide Li...
Jun 28, 2:49 pm 2007
Davide Libenzi
[patch 2/4] MAP_NOZERO v2 - implement sys_brk2()
The following patch implements the sys_brk2() syscall, that nothing is other than a sys_brk() with an extra "flags" parameter. This can be used to pass the new MAP_NOZERO bit, to ask the kernel to hand over non-zero pages if possible. Signed-off-by: Davide Libenzi <davidel@xmailserver.org> - Davide --- include/linux/mm.h | 3 ++- include/linux/syscalls.h | 1 + mm/mmap.c | 22 ++++++++++++++++++---- 3 files changed, 21 insertions(+), 5 deletions(-)...
Jun 28, 2:49 pm 2007
Davide Libenzi
[patch 0/4] MAP_NOZERO v2 - VM_NOZERO/MAP_NOZERO early summe...
I was using oprofile to sample some userspace code I am working on, and I was continuosly noticing clear_page in the top three entries of the oprofile logs. Also, a simple kernel build, in my Dual Opteron with 8GB of RAM, shows clear_page as the first kernel entry, second only to the userspace the cc1 and as. Most of the userspace code uses malloc() (and anonymous mappings) in such a way that the memory returned via kernel->glibc is immediately written soon after. The POSIX malloc() defini...
Jun 28, 2:49 pm 2007
Kumar Gala
Please pull from 'from_linus' branch
Please pull from 'for_linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for_linus to receive the following updates: drivers/net/phy/mdio_bus.c | 3 ++- drivers/net/phy/vitesse.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) Kumar Gala (1): phy: Fix phy_id for Vitesse 824x PHY commit 5f708dd91d15876e26d7a57f97a255cedffca463 Author: Kumar Gala <galak@kernel.crashing.org> Date: Thu Jun 28 13:26:06 2007 -0500 phy: Fix phy_...
Jun 28, 2:31 pm 2007
Serge E. Hallyn
[PATCH 1/1] file caps: update selinux xattr hooks
This fixes a shortcoming of the cap_setfcap patch I sent earlier, pointed out by Stephen Smalley. Seems to compile and boot on my little systems. thanks, From: Serge E. Hallyn <serue@us.ibm.com> Date: Thu, 28 Jun 2007 11:57:19 -0400 Subject: [PATCH 1/1] file caps: update selinux xattr hooks SELinux does not call out to it's secondary module for setxattr or removexattr mediation, as the secondary module would incorrectly prevent writing of selinux xattrs. This means that when selinux a...
Jun 28, 2:22 pm 2007
Randy Dunlap
[PATCH -mm] scripts/decodecode: fix for /bin/sh
From: Randy Dunlap <randy.dunlap@oracle.com> Convert substring expressions to be sh-compatible. Tested by Arne Georg Gleditsch <argggh@dolphinics.no> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- scripts/decodecode | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.22-rc6-mm1.orig/scripts/decodecode +++ linux-2.6.22-rc6-mm1/scripts/decodecode @@ -28,7 +28,7 @@ if [ $marker -eq 0 ]; then fi if [ $marker -ne 0 ]; then - beforemark...
Jun 28, 1:51 pm 2007
Oleg Verych
Re: [PATCH -mm] scripts/decodecode: fix for /bin/sh (cc your...
* Date: Thu, 28 Jun 2007 10:51:37 -0700 I didn't want to respond to your prev. messages, because i felt, that they will be mis-read again as my original NAK (ASCII negative acknowledgement symbol, no other "fsky" meaning inside). Also i wanted to come up with more nice tool, like colour support (like `ls' or `quilt diff'), CROSS toolchains support, nicer sed magic in implementation, etc. All this was in my short original comment. Yes that message was short and somebody even thought i was not so...
Jun 28, 5:42 pm 2007
Thomas Sattler
Re: 2.6.22-rc6 spurious hangs
Seems today is my lucky day: I triggered it in just a few minutes. The logfile is attached. Thomas -- keep mailinglists in english, feel free to send PM in german -
Jun 28, 1:35 pm 2007
Thomas Sattler
Re: 2.6.22-rc6 spurious hangs
Here is the logfile. Thomas -- keep mailinglists in english, feel free to send PM in german
Jun 28, 1:49 pm 2007
Oleg Nesterov
Re: 2.6.22-rc6 spurious hangs
cinergyt2_query_rc() hangs. I'll try to look tomorrov, but I know nothing about drivers/media/dvb/. This log is strange, flush_work() should report every 30 seconds, but it looks like wait_for_completion_timeout(HZ * 30) returns a lot earlier. Could you also show the result of sysrq-T ? Thanks! Oleg. -
Jun 28, 2:10 pm 2007
Thomas Sattler
Re: 2.6.22-rc6 spurious hangs
> Could you also show the result of sysrq-T ? I was so happy that I could trigger it that fast ... But, I could trigger it again. :-) This time I can offer: - Debug output from Oleg's patch (11x, every 30s) - Alt-Sysrq-t (3x, about 30s between them) There is no lockdep stuff but lockdep must have been running. It's enabled and did not fire before the the bug was triggered. The logfile is attached. (yes it is, I checked twice) Thomas
Jun 28, 5:31 pm 2007
Roy Franz
Unable to change sata NCQ depth due to readonly /sys/block/s...
Hi, I am unable to change the NCQ settings for a sata drive that supports it - NCQ is always on. This is due to the sysfs queue_depth file being read-only. This is on vanilla 2.6.21.5 running with Debian Etch. (Several earlier versions of the kernel had this same issue.) The drive (WD Raptor) is hooked up to a Nvidia sata controller. amd64:/# ls -al /sys/block/sdc/device/queue_depth -r--r--r-- 1 root root 4096 2007-06-28 10:04 /sys/block/sdc/device/queue_depth amd64:/# cat /sys/block/sdc...
Jun 28, 1:19 pm 2007
Midhun Agnihotram
Fwd: Mounting MMC card
Hi All, I am new to linux kernel stuff. I am using Cogent CSB535FS board. I have configured the kernel to include support for MMC card and also i.MX MMC driver. When I insert the card, it says : # imx-mmc imx-mmc.0: card inserted So, the kernel has identified that MMC has been inserted. I have the following dev entries for mmc on the target: brwxrwxrwx 1 0 0 254, 0 Jun 26 2007 mmcblk0 brwxrwxrwx 1 0 0 254, 1 Jun 26 2007 mmcblk0p0 brwxrwxrwx 1...
Jun 28, 1:00 pm 2007
Midhun Agnihotram
Mounting MMC card
Sorry for resending. I dont know if my previous mail has reached the list with "Fwd" in the subject line. I am pretty sure there must a filter in Majordomo to discard forwards. Actually I am resending the mail I had sent to Linux-Arm-Kernel. Thanks. ---------- Forwarded message ---------- From: Midhun Agnihotram <agnimidhun@gmail.com> Date: Jun 28, 2007 10:30 PM Subject: Fwd: Mounting MMC card To: linux-kernel@vger.kernel.org Cc: drzeus-mmc@drzeus.cx Hi All, I am new to linux ...
Jun 28, 1:08 pm 2007
Pierre Ossman
Re: Mounting MMC card
Have you checked that your device nodes are correct? Since you use busybox I assume the system is too lightweight to run udev. -- -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org PulseAudio, core developer http://pulseaudio.org rdesktop, core developer http://www.rdesktop.org -
Jun 28, 3:22 pm 2007
Hans-Jürgen Koch
Re: Mounting MMC card
I run udev on an arm system, it costs you about 200kBytes, and saves you all the trouble with creating device files. Note that you don't need any rules files. If you want to write rules, you can even implement a poor-man's hotplug without HAL. If you can afford 200k, use udev. Hans -
Jun 28, 4:10 pm 2007
Hans-Jürgen Koch
Re: Mounting MMC card
Unfortunately, busybox mount is not very verbose. You get the above mentioned error message even if the device file doesn't exist... You should check: * Is the driver for your MMC actually loaded? * Did it initialize correctly? Does it find your MMC card? * Is support for the file system on the MMC in your kernel? * /dev/mmcblk0p0 and /mnt/mmc really exist? (sorry, but...) Check the output of dmesg for messages from the mmc driver. Hans -
Jun 28, 2:10 pm 2007
Jan Dittmer
Re: Mounting MMC card
The mail came already through the first time. It may take a while. Try to mount mmcblk0 and/or try fdisk and look at the partition table. dmesg output would also be helpful (after the failed mount). Jan -
Jun 28, 1:53 pm 2007
Martin Schwidefsky
[patch 6/6] Guest page hinting: s390 support.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> From: Hubertus Franke <frankeh@watson.ibm.com> From: Himanshu Raj <rhim@cc.gatech.edu> s390 uses the milli-coded ESSA instruction to set the page state. The page state is formed by four guest page states called block usage states and three host page states called block content states. The guest states are: - stable (S): there is essential content in the page - unused (U): there is no useful content and any access to the page w...
Jun 28, 12:40 pm 2007
Martin Schwidefsky
[patch 5/6] Guest page hinting: minor fault optimization.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> From: Hubertus Franke <frankeh@watson.ibm.com> From: Himanshu Raj <rhim@cc.gatech.edu> On of the challenges of the guest page hinting scheme is the cost for the state transitions. If the cost gets too high the whole concept of page state information is in question. Therefore it is important to avoid the state transitions when possible. One place where the state transitions can be avoided are minor faults. Why change the page state ...
Jun 28, 12:40 pm 2007
Martin Schwidefsky
[patch 4/6] Guest page hinting: writable page table entries.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> From: Hubertus Franke <frankeh@watson.ibm.com> From: Himanshu Raj <rhim@cc.gatech.edu> The volatile state for page cache and swap cache pages requires that the host system needs to be able to determine if a volatile page is dirty before removing it. This excludes almost all platforms from using the scheme. What is needed is a way to distinguish between pages that are purely read-only and pages that might get written to. This allows...
Jun 28, 12:40 pm 2007
Martin Schwidefsky
[patch 1/6] Guest page hinting: core + volatile page cache.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> From: Hubertus Franke <frankeh@watson.ibm.com> From: Himanshu Raj <rhim@cc.gatech.edu> The guest page hinting patchset introduces code that passes guest page usage information to the host system that virtualizes the memory of its guests. There are three different page states: * Unused: The page content is of no interest to the guest. The host can forget the page content anr replace it with a page containing zeroes. * Stable: ...
Jun 28, 12:40 pm 2007
Martin Schwidefsky
[patch 2/6] Guest page hinting: volatile swap cache.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> From: Hubertus Franke <frankeh@watson.ibm.com> From: Himanshu Raj <rhim@cc.gatech.edu> The volatile page state can be used for anonymous pages as well, if they have been added to the swap cache and the swap write is finished. The tricky bit is in free_swap_and_cache. The call to find_get_page dead-locks with the discard handler. If the page has been discarded find_get_page will try to remove it. To do that it needs the page table ...
Jun 28, 12:40 pm 2007
Martin Schwidefsky
[patch 3/6] Guest page hinting: mlocked pages.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> From: Hubertus Franke <frankeh@watson.ibm.com> From: Himanshu Raj <rhim@cc.gatech.edu> Add code to get mlock() working with guest page hinting. The problem with mlock is that locked pages may not be removed from page cache. That means they need to be stable. page_make_volatile needs a way to check if a page has been locked. To avoid traversing vma lists - which would hurt performance a lot - a field is added in the struct address_...
Jun 28, 12:40 pm 2007
Martin Schwidefsky
[patch 0/6] resend: guest page hinting version 5.
Greetings, after Carsten pitched CMM2 on the kvm mini summit here is a repost of version 5 of the guest page hinting patches. The code is still the same but has been adapted to the latest git level. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. -
Jun 28, 12:40 pm 2007
Maik Hampel
[PATCH] myri10ge: SET_NETDEV_DEV()
SET_NETDEV_DEV() in myri10ge to create the "/sys/class/net/<if>/device" symlink. Signed-off-by: Maik Hampel <m.hampel@gmx.de> diff -Naur a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c --- a/drivers/net/myri10ge/myri10ge.c 2007-06-28 16:04:41.000000000 +0200 +++ b/drivers/net/myri10ge/myri10ge.c 2007-06-28 16:31:24.000000000 +0200 @@ -2854,6 +2854,8 @@ return -ENOMEM; } + SET_NETDEV_DEV(netdev, &pdev->dev); + mgp = netdev_priv(netdev); me...
Jun 28, 11:07 am 2007
previous daytodaynext day
June 27, 2007June 28, 2007June 29, 2007