[BACK]Return to rf_netbsdkintf.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / raidframe

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/raidframe/rf_netbsdkintf.c between version 1.117.8.3 and 1.118

version 1.117.8.3, 2002/08/09 22:38:13 version 1.118, 2002/05/22 15:40:50
Line 1271  raidioctl(dev, cmd, data, flag, p)
Line 1271  raidioctl(dev, cmd, data, flag, p)
                 RF_Malloc(rrcopy, sizeof(*rrcopy), (struct rf_recon_req *));                  RF_Malloc(rrcopy, sizeof(*rrcopy), (struct rf_recon_req *));
                 if (rrcopy == NULL)                  if (rrcopy == NULL)
                         return(ENOMEM);                          return(ENOMEM);
                 bcopy(rr, rrcopy, sizeof(*rr));                  memcpy(rrcopy, rr, sizeof(*rr));
                 rrcopy->raidPtr = (void *) raidPtr;                  rrcopy->raidPtr = (void *) raidPtr;
   
                 retcode = RF_CREATE_THREAD(raidPtr->recon_thread,                  retcode = RF_CREATE_THREAD(raidPtr->recon_thread,
Line 2684  rf_find_raid_components()
Line 2684  rf_find_raid_components()
                 if (!strcmp(dv->dv_cfdata->cf_driver->cd_name,"fd")) {                  if (!strcmp(dv->dv_cfdata->cf_driver->cd_name,"fd")) {
                         continue;                          continue;
                 }                  }
   
                 /* we don't care about CD's... */  
                 if (!strcmp(dv->dv_cfdata->cf_driver->cd_name,"cd")) {  
                         continue;  
                 }  
   
                 /* hdfd is the Atari/Hades floppy driver */  
                 if (!strcmp(dv->dv_cfdata->cf_driver->cd_name,"hdfd")) {  
                         continue;  
                 }  
                 /* fdisa is the Atari/Milan floppy driver */  
                 if (!strcmp(dv->dv_cfdata->cf_driver->cd_name,"fdisa")) {  
                         continue;  
                 }  
   
                 /* need to find the device_name_to_block_device_major stuff */                  /* need to find the device_name_to_block_device_major stuff */
                 cd_name = dv->dv_cfdata->cf_driver->cd_name;                  cd_name = dv->dv_cfdata->cf_driver->cd_name;

Legend:
Removed from v.1.117.8.3  
changed lines
  Added in v.1.118

CVSweb <webmaster@jp.NetBSD.org>