Here is a small patch that allows the lanstreamer to be built as an in
kernel device. This code
is already in the 2.2.x tree but was dropped somewhere along the way.

Mike Sullivan
IBM LTC ([EMAIL PROTECTED])
                                                                           
                                                                           
                                      --- linux/drivers/net/Space.c.orig   
                                      Wed Feb 28 15:03:01 2001             
                                      +++ linux/drivers/net/Space.c Wed    
                                      Feb 28 15:03:35 2001                 
                                      @@ -545,6 +545,7 @@                  
                                       /* Token-ring device probe */       
                                       extern int ibmtr_probe(struct       
                                      net_device *);                       
                                       extern int olympic_probe(struct     
                                      net_device *);                       
                                      +extern int streamer_probe(struct    
                                      net_device *);                       
                                       extern int smctr_probe(struct       
                                      net_device *);                       
                                                                           
                                       static int                          
                                      @@ -556,6 +557,9 @@                  
                                       #endif                              
                                       #ifdef CONFIG_IBMOL                 
                                           && olympic_probe(dev)           
                                      +#endif                              
                                      +#ifdef CONFIG_IBMLS                 
                                      +    && streamer_probe(dev)          
                                       #endif                              
                                       #ifdef CONFIG_SMCTR                 
                                           && smctr_probe(dev)             
                                      ---                                  
                                      linux/drivers/net/tokenring/lanstrea 
                                      mer.c.orig     Thu Mar  1 10:08:49   
                                      2001                                 
                                      +++                                  
                                      linux/drivers/net/tokenring/lanstrea 
                                      mer.c     Thu Mar  1 10:08:56 2001   
                                      @@ -125,6 +125,13 @@                 
                                                                           
                                       static char *version                
                                      = "LanStreamer.c v0.3.1 03/13/99 -   
                                      Mike Sullivan";                      
                                                                           
                                      +static struct pci_device_id         
                                      streamer_pci_tbl[] __initdata = {    
                                      +    { PCI_VENDOR_ID_IBM,            
                                      PCI_DEVICE_ID_IBM_TR, PCI_ANY_ID,    
                                      PCI_ANY_ID,},                        
                                      +    {}   /* terminating entry */    
                                      +};                                  
                                      +MODULE_DEVICE_TABLE(pci,streamer_pc 
                                      i_tbl);                              
                                      +                                    
                                      +                                    
                                       static char *open_maj_error[] = {   
                                           "No error", "Lobe Media Test",  
                                      "Physical Insertion",                
                                           "Address Verification",         
                                      "Neighbor Notification (Ring Poll)", 
                                                                           
                                                                           





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to