aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/isp1760/isp1760-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/isp1760/isp1760-if.c b/drivers/usb/isp1760/isp1760-if.c
index 264be4d21706..9535b2872183 100644
--- a/drivers/usb/isp1760/isp1760-if.c
+++ b/drivers/usb/isp1760/isp1760-if.c
@@ -163,7 +163,7 @@ static void isp1761_pci_shutdown(struct pci_dev *dev)
163 printk(KERN_ERR "ips1761_pci_shutdown\n"); 163 printk(KERN_ERR "ips1761_pci_shutdown\n");
164} 164}
165 165
166static const struct pci_device_id isp1760_plx [] = { 166static const struct pci_device_id isp1760_plx[] = {
167 { 167 {
168 .class = PCI_CLASS_BRIDGE_OTHER << 8, 168 .class = PCI_CLASS_BRIDGE_OTHER << 8,
169 .class_mask = ~0, 169 .class_mask = ~0,
d=7fa95f726aba6033d7baffcfda484c31b8cfe153'>plain) (tree)



















                                                                              

                                                                         







                                                                      














                              



                           
                              

                 
                          








                             
                                          




                                  



























                                                                             


                                                




                                                                           

                                                                       
 












                                                                                             
                                                     







                                                                                



                                                                          
                                                     







































                                                                                     

                                                                        



















                                                                                 

                                                                      









                                                                         

















                                               
                                




























































                                                                                        


                                                              







































                                                                                



                             
                        

                                         




                                                                                
 


                                                           







                                                                   
                                                    













                                                                            

                         
                                                       


                                                                  







                                                 
                           
                                                                              
                                                                  







                                                                           
                                      


                                                                

                 



                                                           

                          











                                                                            
                                                                            


                                                   

                                                    

                                                           





                                                                             
                                    



                            
                                        





                            
                                      

                       
                                                           


                                                                       
                                      




                                                           



                                                                 
                                    

                                                   
                                           



                                                                            

                 
                                                          
                               

                       
                       
                      
















                                                                          
                                                           
































                                                                                                   
                                             

































































































                                                                                           
                                             


































































                                                                                        
                        

                                       












                                                                                         
                                                                                      



                                                                      
                                                                                          






                                       
 


                                      
                                           

                             
                                         

                              
                                             

                      
                                    

                      
                                                 

                                                                        
                                                                                          


                                                                           
                                                                                            


                                                                      
                                       


                               












































































































































































































                                                                                                






                                                                            









                                                                             








                                                                                    
                                                                        





                                                                            


                                                                           




                                                                               








                                                                        
                                                                     




































                                                                           
                                                                                





























































































                                                                                        




                                                                        
                                      
                                  

                               








                                                                           






                                                                   
                                                                             

                                                                  
                 

                              
         
 












                                                      
                                      
                                  

                               


                                                                         
                                             







                                                                             






                                                                   
         
 
                             
                                     







                                                                 
                                                           
 
                               

                              
                             
                        
 

                                                               






                                                                   


                       

                                                                             

                                                                    


                                                                
                          

                                            





                                                                   


                                                                        

                                                                  

                                                                                  

                                                                                 









                                                                                    




                                                                                          
                                                                                                    





































                                                                                          
                                    




                                                                     
                                                        




                                    
                                                     










                                                                           
                                                                                



                                                             











                                                                             





                                                              
                                                                          


















                                                                          


                                                                          




                        
                                                                    





                                                                 
                             
























                                                           
                                                                
                  
                                  
 



                                                      
                                                                           




                                                              
                                                                








                                                                             

                                                                            


                 






                                                          







                               
                                                                       




































                                                                                        
                                                                                     



                                                                 
                                                                              








                                                                        
                                                                                   

                                    









                                                                              


                                                                             





                                                                    
                                               
 

                                                                 







                                                                           



                                                       

                                                

                                                




                                                                  
                                                                   











                                                         
                                      











                                                                            
                                      


                                                              

                                  




















































                                                                                             
                                                                
                                                    
 








                                                                       

                               
                                      
                                                                            



                                                                            
                                                                     


                                                                               



                                                                         
                                                            
 


                                                                          
                      

                            





































                                                                              




                                                            
                               




                                                          











                                                                              
           
                      

                                                     

                        












                                                                         

                                                


                                           


                                                                      
                                         
















                                                                        





                                                                       
 



                                                             


                                                                                  

                                     
                         
         











                                                                     


                                                       
                                 
                              








                                                                                    





                                                                 







                                                         



                                                         

                                                       
                                                               

                                       
 





                                                                      
                             
                                                           
 

                                                                              


                                             

                                                                     




                                              







                                           
                                              



























                                                                                               













                                                                              
                                                               
                                                 
                                 








                                                                              
                                                 




                                                                    
                         


                                                

                 
 




































                                                                                     
                                                      


                                       
                                                                      



                              

                                                                     
                                                           
                                                                              

                                                                   

                         

                                    







                                           
                                              



























                                                                                              













                                                                            
                                                               
                                                 
                                 








                                                                            
                                                 




                                                                  
                         


                                                

                 
 






                                                                     

                                              




                                                                       













                                                                        
                                      
                                    
                 
         
 
























                                                                                 

                                                  


                                                                        
                   














                                                                        
         


                                                                           










                                                                           
                                                          

                                           
                                                                 



















































































                                                                                               
                                                                  


























































                                                             
                                                               

                            
 





















                                                                   


                                                       



























                                                                                  



                                                                           
                   






























































                                                                                           
                                                                         
                    

                                                 
                                 
                        
                          
                  
 
                                            


                            
                                                                             
            
                                                                   


                                                          
                                                             
                                             
                                  

                                                                  
                                                                      



                                                                       
                                                             
                                




                    
                                         


                          
                  


                                                          
                                  































































































































































                                                                               
                                                      


                                    
                                                           



















                                                                        
                                                      
































































































                                                                              
                        

                            
 
                               
                            


                                 
                            
                  



                                                                    
                                                 






                                                     
                          





















































                                                                          
                        


























                                                                                

                                                 

                                                                        
                                             



                                                                       

                                                               
                                                                



                                                                                     
























































                                                                              
/*
 *  History:
 *  Started: Aug 9 by Lawrence Foard (entropy@world.std.com),
 *           to allow user process control of SCSI devices.
 *  Development Sponsored by Killy Corp. NY NY
 *
 * Original driver (sg.c):
 *        Copyright (C) 1992 Lawrence Foard
 * Version 2 and 3 extensions to driver:
 *        Copyright (C) 1998 - 2005 Douglas Gilbert
 *
 *  Modified  19-JAN-1998  Richard Gooch <rgooch@atnf.csiro.au>  Devfs support
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 */

static int sg_version_num = 30534;	/* 2 digits for each component */
#define SG_VERSION_STR "3.5.34"

/*
 *  D. P. Gilbert (dgilbert@interlog.com, dougg@triode.net.au), notes:
 *      - scsi logging is available via SCSI_LOG_TIMEOUT macros. First
 *        the kernel/module needs to be built with CONFIG_SCSI_LOGGING
 *        (otherwise the macros compile to empty statements).
 *
 */
#include <linux/module.h>

#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/mtio.h>
#include <linux/ioctl.h>
#include <linux/fcntl.h>
#include <linux/init.h>
#include <linux/poll.h>
#include <linux/smp_lock.h>
#include <linux/moduleparam.h>
#include <linux/cdev.h>
#include <linux/seq_file.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/scatterlist.h>

#include "scsi.h"
#include <scsi/scsi_dbg.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_driver.h>
#include <scsi/scsi_ioctl.h>
#include <scsi/sg.h>

#include "scsi_logging.h"

#ifdef CONFIG_SCSI_PROC_FS
#include <linux/proc_fs.h>
static char *sg_version_date = "20061027";

static int sg_proc_init(void);
static void sg_proc_cleanup(void);
#endif

#define SG_ALLOW_DIO_DEF 0
#define SG_ALLOW_DIO_CODE /* compile out by commenting this define */

#define SG_MAX_DEVS 32768

/*
 * Suppose you want to calculate the formula muldiv(x,m,d)=int(x * m / d)