Diff for /src/sys/dev/raid/amr/amr_disk.c between versions 1.8 and 1.9

version 1.8, 2004/05/13 23:49:18 version 1.9, 2004/05/19 22:52:46
Line 195  amrd_ioctl(dev_t dev, u_long cmd, caddr_ Line 195  amrd_ioctl(dev_t dev, u_long cmd, caddr_
  * System crashdump support   * System crashdump support
  */   */
 int  int
amrd_dump(dev_t dev)amrd_dump(dev_t dev, u_int count, u_int blkno, u_int secsize)
 {  {
           
     struct amrd_softc   *amrd_sc = (struct amrd_softc *)dev->si_drv1;      struct amrd_softc   *amrd_sc = (struct amrd_softc *)dev->si_drv1;
     struct amr_softc    *amr_sc;      struct amr_softc    *amr_sc;
     u_int               count, blkno, secsize;  
     vm_paddr_t          addr = 0;      vm_paddr_t          addr = 0;
     long                blkcnt;      long                blkcnt;
     int                 dumppages = MAXDUMPPGS;      int                 dumppages = MAXDUMPPGS;
Line 210  amrd_dump(dev_t dev) Line 209  amrd_dump(dev_t dev)
   
     debug_called(1);      debug_called(1);
   
     if ((error = disk_dumpcheck(dev, &count, &blkno, &secsize)))  
         return(error);  
   
     amr_sc  = (struct amr_softc *)amrd_sc->amrd_controller;      amr_sc  = (struct amr_softc *)amrd_sc->amrd_controller;
   
     if (!amrd_sc || !amr_sc)      if (!amrd_sc || !amr_sc)

Removed from v.1.8  
changed lines
  Added in v.1.9