DragonFly BSD
DragonFly commits List (threaded) for 2005-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/dev/disk/aha aha.c aha_isa.c ahareg.h


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 11 Sep 2005 06:03:16 -0700 (PDT)

sephe       2005/09/11 06:03:16 PDT

DragonFly src repository

  Modified files:
    sys/dev/disk/aha     aha.c aha_isa.c ahareg.h 
  Log:
  - convert PRVERB to use device_printf()
  - add aha_softc.dev
  - push "dev" into aha_alloc() instead of "unit" in order to convert printf() to
    device_printf() in aha_alloc().  change aha_alloc() declaration in ahareg.h
    accordingly
  - printf("aha%d str", aha->unit) ==> device_printf(aha->dev, "str")
  - in aha_alloc(), aha_free() and aha_attach(), use device_get_unit(aha->dev)
    to get the device unit instead of using aha->unit directly
  - remove aha_softc.unit
  
  Submitted-by: Sarunas Vancevicius <svan at redbrick.dcu.ie>
  
  Revision  Changes    Path
  1.11      +75 -85    src/sys/dev/disk/aha/aha.c
  1.5       +2 -1      src/sys/dev/disk/aha/aha_isa.c
  1.4       +2 -2      src/sys/dev/disk/aha/ahareg.h


http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/aha/aha.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/aha/aha_isa.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/aha/ahareg.h.diff?r1=1.3&r2=1.4&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]