- 11 Jun, 2003 5 commits
-
-
Christoph Hellwig authored
->command is never called if can_queue is set, remove the dead code.
-
Christoph Hellwig authored
-
Christoph Hellwig authored
All information is provided in sysfs nowdays.
-
Christoph Hellwig authored
fold sd_init_onedisk into sd_revalidate_disk and sd_synchronize_cache into sd_shutdown.
-
Christoph Hellwig authored
This is nothing a LLDD should ever look at and might go away completly soon. The uses are for a printk and a racy ioctl.
-
- 06 Jun, 2003 13 commits
-
-
Christoph Hellwig authored
module unloading is not support until parisc_driver gets a release method
-
Christoph Hellwig authored
Sorry, I sent you the old patch again. Here's the missing driver bits.
-
Christoph Hellwig authored
Make the scsi midlayer header typedef clean and consolidate all those backwards-compat typedefs in scsi_typedefs.h. It's still included at the bottom of scsi.h and will probably stay there at least for 2.6 - but the scsi core already compiles without it and the new splitted headers won't include this implicitly anymore.
-
Christoph Hellwig authored
namely struct scsi_host_template and make the scsi core use this instead of the typedef everywhere.
-
Christoph Hellwig authored
- scsi_host_busy_inc isn't used anymore (and uses broken locking rules), kill it. - scsi_host_busy_dec_and_test gets replace by scsi_device_unbusy that also cares for sdev->device_busty. - there's a new helper, scsi_eh_wakeup, shared by scsi_device_unbusy and some EH code.
-
Christoph Hellwig authored
-
Jamie Lenehan authored
On Fri, Jun 06, 2003 at 10:01:03AM +0200, Christoph Hellwig wrote: > Rediffed version, with Mike's isp fix and taking the new > scsi_add_host users in usb in account. > > Currently this is juist a new name for scsi_register, but we make > sure new-style drivers never call scsi_register/scsi_unregister > but always scsi_host_alloc/scsi_host_put in this patch so the > next patch can introduce code specific to legacy drivers in > the former. Also cleanup scsi_register/scsi_host_alloc a bit. I think I made the dc395x driver new style init as of 2.5.70-bk9 (if what scsi_mid_low_api.txt calls "hotplug" style is new style then it is). So it'll need to be updated as well.
-
Christoph Hellwig authored
-
Christoph Hellwig authored
It was useful in 2.4 to debug the blockhighmem stuff but in 2.5 it's b0rked because doesn't have any implication except propagation of the highmem_io flags from the scsi host template to the scsi host structure. It also only worked on i386. ACKed by Jens.
-
Christoph Hellwig authored
The legacy host registration/unregistration is the last user of the scsi_host_list but it really wants a per-template list instead, so switch to one that is maintained in scsi_register/scsi_unregister. Also the legacy init/exit code is small enough now to be self-contained in scsi_module.c now. This second version also has proper failure handling in the init_this_scsi_driver
-
Christoph Hellwig authored
Rediffed version, with Mike's isp fix and taking the new scsi_add_host users in usb in account. Currently this is juist a new name for scsi_register, but we make sure new-style drivers never call scsi_register/scsi_unregister but always scsi_host_alloc/scsi_host_put in this patch so the next patch can introduce code specific to legacy drivers in the former. Also cleanup scsi_register/scsi_host_alloc a bit.
-
Christoph Hellwig authored
This feature is seriously racy, and doesn't work under many circumstances. As we have proper ways to find devices by their their locical naming (UUID, fs label) or physical connectivity (scsidev, sysfs) it shouldn't be nessecary anymore.
-
Christoph Hellwig authored
use module_param_named to avoid the the superflous scsi strings in the option names.
-
- 05 Jun, 2003 22 commits
-
-
Patrick Mansfield authored
This patch converts scsi core to use the module_param interfaces (except for the hosts.c scsihosts usage). With this applied, boot time (non-module) command line setting of scsi parameters must be prefixed by what the scsi module name would be (scsi_mod), for example: scsi_mod.scsi_logging_level=0x180 scsi_mod.scsi_default_dev_flags=0x1 scsi_mod.max_scsi_luns=5 Usage of scsi_mod as above is a bit ugly and long - if this patch is applied, we should consider renaming scsi.c to scsi_main.c or similiar, and scsi_mod.o to scsi.o. Or, somehow get our prefix set to "scsi".
-
Christoph Hellwig authored
dito
-
Christoph Hellwig authored
This is the same procedure most of the scsi source files got a while ago.
-
Christoph Hellwig authored
sdev->access_count is incremented not only by sd but also e.g. by sg. Now if sd opens first, then sg, then sd closes and sg last medium removal will still be prevented. Add a counter in scsi_disk for doorlocking instead.
-
Christoph Hellwig authored
-
Christoph Hellwig authored
Current code just puts the driver name into it which is utterly useless
-
Christoph Hellwig authored
This allows us to kill the horrible scsi_host_legacy_release hack. Note that the new ->release methods still seem to be incorrect in some case, but I really want to kill that hack in core code not to make all drivers perfect.
-
Matthew Wilcox authored
- Make some more options depend on bus types - Eliminate the Kconfig option for 53c7,8xx and some references to it - Eliminate the original sym53c8xx driver from the config (leave it in the makefile for now though) - Merge the m68k Kconfig bits into the main scsi Kconfig file - Tidy up some formatting
-
bk://kernel.bkbits.net/gregkh/linux/i2c-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/gregkh/linux/pci-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/pci-2.5
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.5
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/i2c-2.5
-
Greg Kroah-Hartman authored
-
Stephen Hemminger authored
There is a typo in the current 2.5.70 bk version of class_device_release that was not there in my original patch. By confusing the class and the class_device, the release function oops. cd->release is always the function itself (class_device_release), cls->release is the one setup for the class (net_class in my case).
-
Andreas Schultz authored
i2c-core.c contains 2 loops that iterate over the list of the clients attached to an adapter and detaches them. Detaching the clients will actually remove them from the list the loop is iterating over. Therefore the list_for_each_safe() method has to be used.
-
Mark M. Hoffman authored
This patch fixes the various return values in the w83781d_detect() error paths. It also cleans up some formatting here and there. It should be applied on top of the previous one. It works for me; same caveat as above w.r.t. ISA.
-
bk://kernel.bkbits.net/davem/sparc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Greg Kroah-Hartman authored
Now the only users of this directly should be the pci core and arch specific pci core code.
-
Greg Kroah-Hartman authored
This will let not have to export the pci_devices variable.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-