]> git.hungrycats.org Git - linux/log
linux
23 years agoo NET: move drivers/net/Space.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 20:45:22 +0000 (17:45 -0300)]
o NET: move drivers/net/Space.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/xfrm/xfrm_algo.c EXPORT_SYMBOL_GPLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 20:41:39 +0000 (17:41 -0300)]
o NET: move net/xfrm/xfrm_algo.c EXPORT_SYMBOL_GPLs from net/netsyms.c

23 years agoo NET: move rest of net/sched/*.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 20:32:59 +0000 (17:32 -0300)]
o NET: move rest of net/sched/*.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/802/*.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 20:24:16 +0000 (17:24 -0300)]
o NET: move net/802/*.c EXPORT_SYMBOLs from net/netsyms.c

Also add #include <linux/netdevice.h> to include/net/pkt_sched.h, as it uses
functions defined on this include (netif_queue_stopped, etc). Ah, the other
datalink stuff was moved as well (eth.c, pe2.c)

23 years agoo NET: move net/ipv4/{ip_input,sysctl_net_ipv4}.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 20:06:21 +0000 (17:06 -0300)]
o NET: move net/ipv4/{ip_input,sysctl_net_ipv4}.c EXPORT_SYMBOLs from net/netsyms.c

And also a leftover to net/ipv4/af_inet.c

23 years agoo NET: move net/ipv4/inetpeer.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 19:56:57 +0000 (16:56 -0300)]
o NET: move net/ipv4/inetpeer.c EXPORT_SYMBOLs from net/netsyms.c

And some leftovers from previous changesets also moved to net/core/dev.c
and net/sched/sch_api.c

23 years agoo NET: move net/ipv4/ip_fragment.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 19:41:45 +0000 (16:41 -0300)]
o NET: move net/ipv4/ip_fragment.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/tcp_output.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 19:08:40 +0000 (16:08 -0300)]
o NET: move net/ipv4/tcp_output.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/ip_options.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 19:01:33 +0000 (16:01 -0300)]
o NET: move net/ipv4/ip_options.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/protocol.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 18:48:16 +0000 (15:48 -0300)]
o NET: move net/ipv4/protocol.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/fib_frontend.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 18:32:00 +0000 (15:32 -0300)]
o NET: move net/ipv4/fib_frontend.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/icmp.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 18:14:52 +0000 (15:14 -0300)]
o NET: move net/ipv4/icmp.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/igmp.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 18:06:45 +0000 (15:06 -0300)]
o NET: move net/ipv4/igmp.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/route.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 18:01:47 +0000 (15:01 -0300)]
o NET: move net/ipv4/route.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/link_watch.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 17:56:20 +0000 (14:56 -0300)]
o NET: move net/core/link_watch.c EXPORT_SYMBOLs from net/netsyms.c

Also fix a typo.

23 years agoo NET: move net/core/dv.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 17:47:46 +0000 (14:47 -0300)]
o NET: move net/core/dv.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/filter.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 17:41:16 +0000 (14:41 -0300)]
o NET: move net/core/filter.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/flow.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 17:26:41 +0000 (14:26 -0300)]
o NET: move net/core/flow.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/dev_mcast.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 17:19:02 +0000 (14:19 -0300)]
o NET: move net/core/dev_mcast.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/dst.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 17:10:29 +0000 (14:10 -0300)]
o NET: move net/core/dst.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/utils.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 17:04:44 +0000 (14:04 -0300)]
o NET: move net/core/utils.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/iovec.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 16:57:36 +0000 (13:57 -0300)]
o NET: move net/core/iovec.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/scm.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 16:51:49 +0000 (13:51 -0300)]
o NET: move net/core/scm.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/sched/sch_api.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 16:45:07 +0000 (13:45 -0300)]
o NET: move net/sched/sch_api.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/datagram.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 16:40:28 +0000 (13:40 -0300)]
o NET: move net/core/datagram.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/wireless.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 16:30:37 +0000 (13:30 -0300)]
o NET: move net/core/wireless.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/arp.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 16:26:25 +0000 (13:26 -0300)]
o NET: move net/ipv4/arp.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/ip_output.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 16:14:09 +0000 (13:14 -0300)]
o NET: move net/ipv4/ip_output.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/tcp_timer.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 16:05:34 +0000 (13:05 -0300)]
o NET: move net/ipv4/tcp_timer.c EXPORT_SYMBOLs from net/netsyms.c

Also move the EXPORT_SYMBOL(tcp_statistics) to net/ipv4/tcp.c, so that
finally the tcp.h header can be removed from net/netsyms.c, ctags doesn't
catches the variables defined with DEFINE_SNMP_STAT :-\

23 years agoo NET: move net/ipv4/tcp_input.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 15:50:40 +0000 (12:50 -0300)]
o NET: move net/ipv4/tcp_input.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/tcp_minisocks.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 15:38:21 +0000 (12:38 -0300)]
o NET: move net/ipv4/tcp_minisocks.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/ethtool.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 14:58:07 +0000 (11:58 -0300)]
o NET: move net/core/ethtool.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/devinet.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 14:44:00 +0000 (11:44 -0300)]
o NET: move net/ipv4/devinet.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/ip_sockglue.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 14:21:01 +0000 (11:21 -0300)]
o NET: move net/ipv4/ip_sockglue.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/sched/police.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 11:01:26 +0000 (08:01 -0300)]
o NET: move net/sched/police.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/sched/sch_generic.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 10:57:10 +0000 (07:57 -0300)]
o NET: move net/sched/sch_generic.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/rtnetlink.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 10:52:27 +0000 (07:52 -0300)]
o NET: move net/core/rtnetlink.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/tcp_output.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 10:45:47 +0000 (07:45 -0300)]
o NET: move net/ipv4/tcp_output.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/udp.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 10:41:12 +0000 (07:41 -0300)]
o NET: move net/ipv4/udp.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/netfilter.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 10:35:00 +0000 (07:35 -0300)]
o NET: move net/core/netfilter.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/netlink/af_netlink.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 10:29:22 +0000 (07:29 -0300)]
o NET: move net/netlink/af_netlink.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/socket.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 10:22:53 +0000 (07:22 -0300)]
o NET: move net/socket.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/skbuff.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 10:13:49 +0000 (07:13 -0300)]
o NET: move net/core/skbuff.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/tcp.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sun, 28 Sep 2003 10:05:40 +0000 (07:05 -0300)]
o NET: move net/ipv4/tcp.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/af_inet.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sat, 27 Sep 2003 22:45:08 +0000 (19:45 -0300)]
o NET: move net/ipv4/af_inet.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/ipv4/tcp_ipv4.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sat, 27 Sep 2003 22:30:48 +0000 (19:30 -0300)]
o NET: move net/ipv4/tcp_ipv4.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/neighbour.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sat, 27 Sep 2003 22:21:35 +0000 (19:21 -0300)]
o NET: move net/core/neighbour.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/sock.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sat, 27 Sep 2003 22:10:34 +0000 (19:10 -0300)]
o NET: move net/core/sock.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoo NET: move net/core/dev.c EXPORT_SYMBOLs from net/netsyms.c
Arnaldo Carvalho de Melo [Sat, 27 Sep 2003 21:54:02 +0000 (18:54 -0300)]
o NET: move net/core/dev.c EXPORT_SYMBOLs from net/netsyms.c

23 years agoLinux 2.6.0-test6 v2.6.0-test6
Linus Torvalds [Sat, 27 Sep 2003 10:46:14 +0000 (03:46 -0700)]
Linux 2.6.0-test6

23 years agoRevert NDEBUG move in NCR5380 - g_NCR5380 includes the file (ugh) and
Linus Torvalds [Sat, 27 Sep 2003 10:38:25 +0000 (03:38 -0700)]
Revert NDEBUG move in NCR5380 - g_NCR5380 includes the file (ugh) and
wants 'phases'

Cset exclude: geert@linux-m68k.org|ChangeSet|20030912135245|42657

23 years agoMerge bk://kernel.bkbits.net/jgarzik/misc-2.5
Linus Torvalds [Sat, 27 Sep 2003 02:43:54 +0000 (19:43 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/misc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge redhat.com:/spare/repo/linux-2.5
Jeff Garzik [Sat, 27 Sep 2003 03:56:29 +0000 (23:56 -0400)]
Merge redhat.com:/spare/repo/linux-2.5
into redhat.com:/spare/repo/misc-2.5

23 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
Linus Torvalds [Sat, 27 Sep 2003 02:41:58 +0000 (19:41 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] select MII
Adrian Bunk [Sat, 27 Sep 2003 03:14:23 +0000 (23:14 -0400)]
[PATCH] select MII

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

23 years ago[PATCH] select ZLIB_{IN,DE}FLATE
Adrian Bunk [Sat, 27 Sep 2003 02:40:51 +0000 (19:40 -0700)]
[PATCH] select ZLIB_{IN,DE}FLATE

Similar to the patch Brian Gerst sent for CRC32, this patch changes
ZLIB_{IN,DE}FLATE to be select'ed.

The dependencies are much better maintainable that way.

23 years ago[PATCH] wan/z8530 deadlocks
Stephen Hemminger [Sat, 27 Sep 2003 02:32:06 +0000 (22:32 -0400)]
[PATCH] wan/z8530 deadlocks

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.

23 years ago[PATCH] sealevel -- syncppp startup fix
Stephen Hemminger [Sat, 27 Sep 2003 02:31:59 +0000 (22:31 -0400)]
[PATCH] sealevel -- syncppp startup fix

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

23 years ago[netdrvr smc91c92_cs] select proper bank for MII registers
Jun Komuro [Sat, 27 Sep 2003 02:30:42 +0000 (22:30 -0400)]
[netdrvr smc91c92_cs] select proper bank for MII registers

23 years ago[netdrvr] build fixes
Jun Komuro [Sat, 27 Sep 2003 02:30:07 +0000 (22:30 -0400)]
[netdrvr] build fixes

For e1000 and baycom_epp.

Contributed by Jeff Garzik.

23 years ago[PATCH] janitor: e100: cleanup #includes
Randy Dunlap [Sat, 27 Sep 2003 01:52:14 +0000 (21:52 -0400)]
[PATCH] janitor: e100: cleanup #includes

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(-)

23 years ago[PATCH] janitor: hermes: delete verify_area call
Randy Dunlap [Sat, 27 Sep 2003 01:52:07 +0000 (21:52 -0400)]
[PATCH] janitor: hermes: delete verify_area call

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(-)

23 years ago[e100] trying to pci_alloc before pci_enable
Scott Feldman [Sat, 27 Sep 2003 01:52:01 +0000 (21:52 -0400)]
[e100] trying to pci_alloc before pci_enable

* Some archs don't like calling pci_alloc_consistent before calling
pci_enable_device.  (Imagine that).  This corrects that.

23 years ago[e100] h/w can't do IPv6 checksum offloading
Scott Feldman [Sat, 27 Sep 2003 01:51:54 +0000 (21:51 -0400)]
[e100] h/w can't do IPv6 checksum offloading

* Driver was advertising HW_CSUM, but hardware is only capable of IP_CSUM.

23 years ago[e100] PRO/10+ not configured properly
Scott Feldman [Sat, 27 Sep 2003 01:51:47 +0000 (21:51 -0400)]
[e100] PRO/10+ not configured properly

* PRO/10+ (10 Mbps-only card) was not configured properly so it didn't
pass traffic.

23 years ago[e1000] misc
Scott Feldman [Sat, 27 Sep 2003 01:51:41 +0000 (21:51 -0400)]
[e1000] misc

* removed unused var, ASSERT macro
* missed a free_netdev() in probe cleanup undo.

23 years ago[e1000] better propagation of error codes
Scott Feldman [Sat, 27 Sep 2003 01:51:34 +0000 (21:51 -0400)]
[e1000] better propagation of error codes

* Better propagation of error codes during probe/open paths.
  {Janice Girouard (janiceg@us.ibm.com)]

23 years ago[e1000] force 1000/full on SERDES connected to back-plane
Scott Feldman [Sat, 27 Sep 2003 01:51:28 +0000 (21:51 -0400)]
[e1000] force 1000/full on SERDES connected to back-plane

* 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.

23 years ago[e1000] flow control updates
Scott Feldman [Sat, 27 Sep 2003 01:51:21 +0000 (21:51 -0400)]
[e1000] flow control updates

* 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.

23 years ago[netdrvr sk98lin] use seq_file for /proc
Stephen Hemminger [Sat, 27 Sep 2003 01:51:14 +0000 (21:51 -0400)]
[netdrvr sk98lin] use seq_file for /proc

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.

23 years ago[netdrvr skge] handle proc_fs errors.
Stephen Hemminger [Sat, 27 Sep 2003 01:51:08 +0000 (21:51 -0400)]
[netdrvr skge] handle proc_fs errors.

Existing code does not
- check if proc_fs functions return error.
- use proc_mkdir to make the directory.

Note pSkRootDir defined twice.

23 years ago[netdrvr sk98lin] build on smp fix
Stephen Hemminger [Sat, 27 Sep 2003 01:51:01 +0000 (21:51 -0400)]
[netdrvr sk98lin] build on smp fix

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.

23 years ago[PATCH] ppc64 typo fix (kudos to Anton)
Alexander Viro [Fri, 26 Sep 2003 17:07:17 +0000 (10:07 -0700)]
[PATCH] ppc64 typo fix (kudos to Anton)

*duh*

23 years ago[PATCH] select CRC32
Brian Gerst [Fri, 26 Sep 2003 17:07:08 +0000 (10:07 -0700)]
[PATCH] select CRC32

Use "select CRC32" in Kconfig instead of makefile includes.

23 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Fri, 26 Sep 2003 14:20:15 +0000 (07:20 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
Linus Torvalds [Fri, 26 Sep 2003 14:19:04 +0000 (07:19 -0700)]
Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Fri, 26 Sep 2003 14:17:24 +0000 (07:17 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoPPC32: Make scripts/mkuboot.sh executable
Paul Mackerras [Sat, 27 Sep 2003 21:40:10 +0000 (07:40 +1000)]
PPC32: Make scripts/mkuboot.sh executable

23 years agoPPC32: Fix the definition of PMU_IOC_GRAB_BACKLIGHT.
Paul Mackerras [Sat, 27 Sep 2003 21:32:44 +0000 (07:32 +1000)]
PPC32: Fix the definition of PMU_IOC_GRAB_BACKLIGHT.

23 years agoPPC32: Fix up the CPU frequency scaling questions in arch/ppc/Kconfig.
Paul Mackerras [Sat, 27 Sep 2003 21:25:58 +0000 (07:25 +1000)]
PPC32: Fix up the CPU frequency scaling questions in arch/ppc/Kconfig.

This is from Ben Herrenschmidt's tree.

23 years agoMerge bk://stop.crashing.org/linux-2.6-uImage
Paul Mackerras [Sat, 27 Sep 2003 20:11:30 +0000 (06:11 +1000)]
Merge bk://stop.crashing.org/linux-2.6-uImage
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge changes from Tom Rini
Paul Mackerras [Sat, 27 Sep 2003 19:46:47 +0000 (05:46 +1000)]
Merge changes from Tom Rini

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Sat, 27 Sep 2003 19:08:58 +0000 (05:08 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Sat, 27 Sep 2003 09:08:45 +0000 (19:08 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoPPC32: Adjust ucontext to conform with historical practice and with glibc.
Paul Mackerras [Sat, 27 Sep 2003 09:07:22 +0000 (19:07 +1000)]
PPC32: Adjust ucontext to conform with historical practice and with glibc.

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.

23 years agoMerge
Paul Mackerras [Sat, 27 Sep 2003 07:31:46 +0000 (17:31 +1000)]
Merge

23 years ago[PATCH] scsi_mid_low_api.txt update
James Bottomley [Fri, 26 Sep 2003 14:11:05 +0000 (09:11 -0500)]
[PATCH] scsi_mid_low_api.txt update

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.

23 years agoMerge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
James Bottomley [Fri, 26 Sep 2003 13:27:48 +0000 (08:27 -0500)]
Merge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.6

23 years ago[PATCH] GCC 3.3.x/3.4 compatiblity fix in include/linux/init.h
Bernardo Innocenti [Fri, 26 Sep 2003 10:58:02 +0000 (03:58 -0700)]
[PATCH] GCC 3.3.x/3.4 compatiblity fix in include/linux/init.h

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.

23 years ago[PATCH] fix kernel BUG using multipath
Steven Dake [Fri, 26 Sep 2003 10:55:31 +0000 (03:55 -0700)]
[PATCH] fix kernel BUG using multipath

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.

23 years ago[PATCH] sysfs dput crash fix
Patrick Mochel [Fri, 26 Sep 2003 07:58:11 +0000 (00:58 -0700)]
[PATCH] sysfs dput crash fix

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.

23 years ago[PATCH] ia64: remove CONFIG_PCI ifdefs in SN2 code
Christoph Hellwig [Fri, 26 Sep 2003 07:01:17 +0000 (00:01 -0700)]
[PATCH] ia64: remove CONFIG_PCI ifdefs in SN2 code

It's not like it would compile without PCI support anyway, and these
ifdefs are _really_ strange.

23 years ago[PATCH] ia64: simplify SN2 interrupt allocation
Christoph Hellwig [Fri, 26 Sep 2003 07:00:19 +0000 (00:00 -0700)]
[PATCH] ia64: simplify SN2 interrupt allocation

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...

23 years ago[PATCH] ia64: sn_ML_intr.c is a freakin mess
Christoph Hellwig [Fri, 26 Sep 2003 06:59:31 +0000 (23:59 -0700)]
[PATCH] ia64: sn_ML_intr.c is a freakin mess

fed through Lindent and dead codepathes eliminated.

23 years ago[PATCH] ia64: simplify and speedup SN2 dma mapping
Christoph Hellwig [Fri, 26 Sep 2003 06:58:45 +0000 (23:58 -0700)]
[PATCH] ia64: simplify and speedup SN2 dma mapping

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.

23 years ago[PATCH] ia64: kill snia_pciio_*
Christoph Hellwig [Fri, 26 Sep 2003 06:57:27 +0000 (23:57 -0700)]
[PATCH] ia64: kill snia_pciio_*

These strange mixups of Linux and IRIX PCI interfaces were used in SGI's
2.4 tree for their port of the IRIX scsi code.  They have no business to
stgay in 2.6.

23 years agoia64: Patch by Christoph Hellwig: kill .hcl entry in SN hwgfs.
David Mosberger [Fri, 26 Sep 2003 06:56:41 +0000 (23:56 -0700)]
ia64: Patch by Christoph Hellwig: kill .hcl entry in SN hwgfs.

23 years ago[PATCH] ia64: kill dead SN code from ml_iograph.c
Christoph Hellwig [Fri, 26 Sep 2003 06:54:15 +0000 (23:54 -0700)]
[PATCH] ia64: kill dead SN code from ml_iograph.c

More IRIX creepism

23 years ago[PATCH] ia64: kill sn2 inventory stubs
Christoph Hellwig [Fri, 26 Sep 2003 06:53:14 +0000 (23:53 -0700)]
[PATCH] ia64: kill sn2 inventory stubs

Just some crappy stubs that sneaked over from IRIX.

23 years ago[PATCH] ia64: kill SN kdba_io.c
Christoph Hellwig [Fri, 26 Sep 2003 06:52:24 +0000 (23:52 -0700)]
[PATCH] ia64: kill SN kdba_io.c

Keith shared my opionion that it's completly useless.  Also everyone
seems to favour keeping kdb stuff out of mainline.