- 15 Mar, 2005 27 commits
-
-
Andrew Morton authored
drivers/pci/quirks.c:pci_msi_quirk is only defined if CONFIG_X86_IO_APIC, but msi_init() unconditionally uses it. Acked-by: "Nguyen, Tom L" <tom.l.nguyen@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
CC [M] drivers/media/dvb/frontends/dvb-pll.o drivers/media/dvb/frontends/dvb-pll.c:38: warning: excess elements in array initializer drivers/media/dvb/frontends/dvb-pll.c:38: warning: (near initialization for `dvb_pll_thomson_dtt7579.entries') Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
drivers/media/video/saa7134/saa7134-core.c: In function `saa7134_fini': drivers/media/video/saa7134/saa7134-core.c:1215: `pending_registered' undeclared (first use in this function) Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
We forgot to add the spinlock to the device structure. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://linux-scsi.bkbits.net/scsi-for-linus-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
James Bottomley authored
FC Remote Port Patch This is the reworked patch for fc_remote ports. It started with the "patch2" converted for scsi-misc-2.6 (and updated for the revised midlayer scsi target implementation) Incorporates Andrew Vasquez's updates Adds scsi target scanning on behalf of the driver based on addition of a per-host workq. This patch adds support for FC Remote Ports (which may or may not be FCP targets) to the fc transport. The attributes for the ports are in support of HBAAPI. This patch also implements consistent scsi target id bindings for the remote ports. This patch also moves the dev_loss attribute from the target-level fc_transport device to the remote port device. It also deletes the link_down attribute. The fc_target_block and fc_target_unblock routines have been replaced by fc_remote_port_block and fc_remote_port_unblock. The fc_host_block/unblock functions have been removed (unused). A new interface has been created - fc_remove_host(), which a driver must call immediately prior to scsi_remove_host() when unloading. This tears down the transport, starget, and sdev devices. The transport, which utilizes the midlayer mods to insert transport entities between the shost and starget, results in a device tree such as the following: /sys/class/fc_host/host4/device/rport-4:0-0/target4:0:0/4:0:0:0 Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
James Smart authored
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Vasquez authored
* add scsi_target_block() and scsi_target_unblock() routines which take a generic-device. Side note: there are mixture of scsi_<object>_<action>() and scsi_<action>_<noun>() functions defined in the scsi APIs -- going forward are there any 'guides' or suggestions on which to choose? * modify scsi_remove_target() to take a generic-device. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Morton authored
drivers/scsi/st.c:805: warning: implicit declaration of function `msleep_interruptible' Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Linus Torvalds authored
People are investigating. Cset exclude: davem@sunset.davemloft.net|ChangeSet|20050315051617|44508 Cset exclude: kravetz@us.ibm.com[torvalds]|ChangeSet|20050314002422|18516
-
Kai Mäkisara authored
The kernel currently allows any user permitted to access the tape device file to send the tape drive commands that may either make the tape drivers internal state inconsistent or to change the drive parameters so that other users find the drive to be unusable. This patch changes ioctl handling so that SG_IO, SCSI_IOCTL_COMMAND, etc. require CAP_ADMIN. This solves the consistency problems for SCSI tapes. The st driver provides user-accessible commands to change the drive parameters that users may need to access. The SCSI command permissions were discussed widely on the linux lists but this did not result in any useful refinement of the permissions. It may very well be that the tape drives are the only devices that users are sometimes given permissions to access and that have security problems with the current command filtering. This patch solves the problem for tapes and no more elaborate patches are needed. Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Kai Mäkisara authored
This patch applies over the previous patch in this thread. The patch removes updating filp->f_pos. It has been dead code since 2.6.8 and nobody has missed it. Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Kai Mäkisara authored
This patch changes the sense descriptor initialization a little faster. Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Mark Haverkamp authored
From Mark Salyzyn at Adaptec. This fixes the way the aac device's id is calculated. Signed-off-by: Mark Haverkamp <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Mike Anderson authored
Add TASK_ABORTED and ACA_ACTIVE to status_byte macro. Signed-off-by: Mike Anderson <andmike@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Kai Mäkisara authored
Problems fixed: - the sense descriptor is cleared before filling - BSF and BSFM are added to the commands causing automatic writing of filemark if the previous operation was write (tar expects this) - the block number is set to unknown (-1) if spacing forward ends at BLANK CHECK - debugging printout of spacing counts fixed to work also with 64-bit systems Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
James Bottomley authored
Prevents a compile warning about vmalloc/vfree being undefined Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
James Bottomley authored
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
James Bottomley authored
pci_ids.h (removal of on ID next to addition of another) scsi_transport_iscsi.c: change of attribute_container_unregister to transport_container_unregister. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Adrian Bunk authored
The only user of fc_type_trans (drivers/net/fc/iph5526.c) is removed in Linus' tree. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
-
bk://linux-dj.bkbits.net/agpgartLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Dave Jones authored
The previous commit that killed off the _mch driver forgot to reenable the old driver. Signed-off-by: Dave Jones <davej@redhat.com>
-
Herbert Xu authored
This patch replaces most of the other uses of dst_pmtu with dst_mtu. As far as I can tell these are either identical because dst->path == dst, or they're a straightforward replacement of (the slightly incorrect) dst_pmtu(dst) - dst->header_Len with dst_mtu(dst). Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Herbert Xu authored
This patch uses dst_mtu instead of dst_pmtu in the various tunnel implementations. As it is they simply ignore the IPsec overhead. This leads to bogus MTU values inside the tunnels. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Herbert Xu authored
This patch fixes the IPsec overhead handling in ip_append_data and ip6_append_data. As it is they assume that the IPsec overhead is constant. This is not true as with ESP the IPsec overhead will vary as the MTU varies. The result is that they may produce packets that will exceed the MTU when ESP is used. Had it taken the trailer_len into account, it would have produced packets less than the real MTU. By switching to dst_mtu we get the optimal result. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Andrew Morton authored
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-
- 14 Mar, 2005 13 commits
-
-
James Bottomley authored
These were lost from the SCSI transport classes in the transition to the generic classes. Ressurect it in the generic class, since it's probable that more than SCSI will want to use this. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Brian King authored
This patch allows ipr to properly log 2 new RAID 6 related errors. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Robert Olsson authored
The current code bombs out with preemption enabled. Signed-off-by: David S. Miller <davem@davemloft.net>
-
Herbert Xu authored
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Stephen Hemminger authored
Some users, set hold time to zero on bridge so it always does flooding. This is usually when using it with wireless. The new RCU based code changed the behaviour so the bridge would not flood for one GC interval. This patch restores the original behaviour. Signed-off-by: David S. Miller <davem@davemloft.net>
-
Herbert Xu authored
This can elicit ICMP message output and thus result in a deadlock. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Andre Tomt authored
Signed-off-by: Andre Tomt <andre@tomt.net> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Harald Welte authored
Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Ralf Bächle authored
In an attempt to return a locked socket ax25_get_socket() was calling lock_sock() with a spinlock held, bad idea. Making matters worse it's only user is running in bottom half context resulting in a potencial attempt to sleep in bottom half context, so fix the locking there as well. Signed-off-by: David S. Miller <davem@davemloft.net>
-
Herbert Xu authored
netlink_autobind has always set nlk_sk(sk)->groups to zero. This is unnecessary because sk_alloc already zeroes the entire structure. Since a socket can only be bound once netlink_autobind doesn't need to zero groups at all. This had been safe until I added mc_list. Now it is possible for netlink_bind to race against netlink_autobind running on the same socket on another CPU. The result would be a socket that's on mc_list with groups set to zero. This socket will be left on the list even after it is destroyed. The fix is to remove the zeroing in netlink_autobind. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Herbert Xu authored
While replacing dst_pmtu in ip6_output I found this little gem. In ip6_forward we're not reloading the dst pointer after calling xfrm6_route_forward. So all subsequent dereferences of dst will refer to its pre-IPsec value. The solution is of course to refresh its value. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-