- 27 Sep, 2003 17 commits
-
-
Adrian Bunk authored
The patch below switches MII to be select'ed instead of including it in the Makefile. Note that this patch requires a recent Linus' tree with the select CRC32 patch included. diffstat output: drivers/net/Kconfig | 11 +++++++++++ drivers/net/Makefile | 28 +++++++++++----------------- drivers/net/pcmcia/Kconfig | 1 + drivers/net/tulip/Kconfig | 1 + drivers/usb/net/Kconfig | 2 ++ drivers/usb/net/Makefile.mii | 6 ------ 6 files changed, 26 insertions(+), 23 deletions(-) Tangential to the patch I observed a small problem (not fixed in the patch): MII depends on NET_ETHERNET, but USB_PEGASUS and USB_USBNET depend only on NET. cu Adrian
-
Stephen Hemminger authored
Existing code for drivers/net/wan/z8530 is riddled with self-deadlocks and irq flag confusion. For example: z8530_init -> do_z8530_init -> write_zsreg self deadlocks on the channel lock. Several places acquire both the channel and dma lock and then reuse the same irq flags variable - ouch. This code at least, correctly probes (for no device case) on SMP. Other paths verified by inspection.
-
Stephen Hemminger authored
The sealevel driver called sppp_attach before checking that board existed and never called detach in the error path. My change is to call sppp_attach from the netdev->init hook which happens later in the process, and call detach from the uninit hook. Also, changed the structure element 'netdev' to 'pppdev' to avoid confusion. Here is the fix against 2.6.0-test5 latest
-
Jun Komuro authored
-
Jun Komuro authored
For e1000 and baycom_epp. Contributed by Jeff Garzik.
-
Randy Dunlap authored
Hi, Please apply to 2.6.0-test5-current. Thanks, -- ~Randy From: Randy Hron <rwhron@earthlink.net> Remove unneeded include of version.h. Test compiled against 2.6.0-test5-bk9. linux-260-t5bk12-kj-rddunlap/drivers/net/e100/e100.h | 1 - 1 files changed, 1 deletion(-)
-
Randy Dunlap authored
Hi, Please apply to 2.6.0-test5-current. Thanks, -- ~Randy From: Domen Puncer <domen@coderock.org> IMO, that verify_area wasn't needed. linux-260-t5bk12-kj-rddunlap/drivers/net/wireless/orinoco.c | 4 ---- 1 files changed, 4 deletions(-)
-
Scott Feldman authored
* Some archs don't like calling pci_alloc_consistent before calling pci_enable_device. (Imagine that). This corrects that.
-
Scott Feldman authored
* Driver was advertising HW_CSUM, but hardware is only capable of IP_CSUM.
-
Scott Feldman authored
* PRO/10+ (10 Mbps-only card) was not configured properly so it didn't pass traffic.
-
Scott Feldman authored
* removed unused var, ASSERT macro * missed a free_netdev() in probe cleanup undo.
-
Scott Feldman authored
* Better propagation of error codes during probe/open paths. {Janice Girouard (janiceg@us.ibm.com)]
-
Scott Feldman authored
* Bug fix: SERDES devices might be connected to back-plan switch that doesn't support auto-neg, so add the capability to force 1000/full.
-
Scott Feldman authored
* handle ethtool force flow control * correctly set flow control hi/low watermarks based on size of Rx FIFO area. The size can change if doing Jumbo Frames or, in the case of 82547, is smaller to start with. * was not properly forcing flow control settings to fc_none if using strict IEEE flow control override.
-
Stephen Hemminger authored
Replace proc_read with seq_file interface which is much cleaner. Also, instead of searching the list of devices looking for the name which is slow and would break if interface name changes; store a pointer to device in the proc entry, and retrieve it from the information saved by single_open. Formatting and other behaviours are retained.
-
Stephen Hemminger authored
Existing code does not - check if proc_fs functions return error. - use proc_mkdir to make the directory. Note pSkRootDir defined twice.
-
Stephen Hemminger authored
There is no exported variable called smp_num_cpus! so this driver won't build on SMP. Since the local variable is never used anyway just get rid of it. This applies against 2.6.0-test5-bk13 which has the last vendor driver update.
-
- 26 Sep, 2003 5 commits
-
-
Alexander Viro authored
*duh*
-
Brian Gerst authored
Use "select CRC32" in Kconfig instead of makefile includes.
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
bk://linux-scsi.bkbits.net/scsi-for-linus-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
bk://ppc.bkbits.net/for-linus-ppcLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
- 27 Sep, 2003 9 commits
-
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Paul Mackerras authored
This is from Ben Herrenschmidt's tree.
-
bk://stop.crashing.org/linux-2.6-uImagePaul Mackerras authored
into samba.org:/home/paulus/kernel/for-linus-ppc
-
Paul Mackerras authored
-
Paul Mackerras authored
into samba.org:/home/paulus/kernel/for-linus-ppc
-
Paul Mackerras authored
into samba.org:/home/paulus/kernel/for-linus-ppc
-
Paul Mackerras authored
This moves the uc_sigmask field back to where it was before. We now don't assume the registers are at a fixed offset in the ucontext, but instead access them through the uc_regs field as in the past. This corresponds with a recent change in glibc CVS.
-
Paul Mackerras authored
-
- 26 Sep, 2003 9 commits
-
-
James Bottomley authored
From: Douglas Gilbert <dougg@torque.net> Attached is an update of the scsi_mid_low_api text document. The first attachment is a gzipped patch against lk 2.6.0-test4 and the second one is the file gzipped. Changes: - add "Calling context:" entry to interface functions - add "Might block:" entry to mid level functions - drop scsi_set_device_offline() + command() - change references to reflect transfer of headers to include/scsi/scsi_*.h - try to define what a "scsi host" is - typos + grammar Thanks to Randy Dunlap, Alan Stern amd Christoph Hellwig for their input. Comments welcome.
-
James Bottomley authored
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.6
-
Bernardo Innocenti authored
GCC 3.4 miscompiles the kernel because it silently optimizes away data placed in the .init.setup section by the __setup() macro. __attribute__((unused)) does only avoid the warning, but doesn't mark the data as being used. Since GCC 3.3, __attribute__((used)) should be applied to such variables. The __attribute_used__ macro from linux/compiler.h already takes care of compiler differences for us. In this patch, I've gone a step further and proactively fixed that in all places.
-
Steven Dake authored
Thanks Matt and Jens for the debug help on the multipath problem. This solves the problem and makes multipath work properly. There are two types of "flags" that are used in a block io request, bi_flags, and bi_rw. bi_flags is used for flags to the block level code, and bi_rw is used for flags to the low level device drivers. The code in the multipath driver used the wrong flag in the wrong field. In this case, the flag FASTFAIL (value 3) was being set to the bi_flags field. FASTFAIL is a hint to the low level driver that it should try to fail out quickly. Unfortunately, the value 3 is also BIO_SEG_VALID, which is a flag to the block subsystem that the segments shouldn't be recalculated. The result was that the wrong field was set, telling the block layer not to recalculate the segments resulting in phys and hw segments of 0. Not good.
-
Patrick Mochel authored
This is a new patch that includes Martin's, and makes create_dir() return an int. That matches sysfs_create_file(), and saves a couple of conversions back and forth between pointer and error.
-
Christoph Hellwig authored
It's not like it would compile without PCI support anyway, and these ifdefs are _really_ strange.
-
Christoph Hellwig authored
Same issues as the dma mapping code, but as SN2 interrupt handling is totally static and all irqs are allocated on bootup an never freed it's not a speed issue. I really wonder what someone has to smoke to call a that expensive dispatcher just to cast the data structure back to the lowlevel one directly afterwards...
-
Christoph Hellwig authored
fed through Lindent and dead codepathes eliminated.
-
Christoph Hellwig authored
Currently the the SN2 dma mapping code uses a file systen lookup (cat /r/napali/tmp/p10 |diffstat -p1) to find the operation vector for the underlying dma mapping implementation. But not only there is exactly one of those implementation, also data structures from this lowlevel driver are used in the actual Linux dma mapping routines and quite a few assumption are made about it. So let's just call directly in the lowlevel code and give up this utter bullshit.
-