tech-kern archive

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

removing aiboost(4) as redundant



Hi,

The attached patch completely disconnects aiboost(4) from the tree. Also removed will be files src/sys/dev/acpi/aiboost.c and src/share/man/man4/aiboost.4.

The aiboost(4) driver has become redundant since the introduction of aibs(4). The aiboost(4) driver has more lines of code yet provides less functionality than aibs(4), e.g. aiboost(4) has no limit support, whereas aibs(4) supports the automatic limit discovery.

$ wc aiboost.c atk0110.c
    450    1352   11917 aiboost.c
    414    1217   10178 atk0110.c

<pgoyette> has suggested that aiboost(4) be removed unless there are objections within a week from this notice.

Best regards,
Constantine.
Index: share/man/man4/Makefile
===================================================================
RCS file: /cvsroot/src/share/man/man4/Makefile,v
retrieving revision 1.509
diff -u -r1.509 Makefile
--- share/man/man4/Makefile     27 Feb 2010 16:12:49 -0000      1.509
+++ share/man/man4/Makefile     6 Mar 2010 06:11:34 -0000
@@ -5,7 +5,7 @@
        adbbt.4 adbkbd.4 adbms.4 \
        adc.4 admtemp.4 adv.4 adw.4 age.4 agp.4 agr.4 ahb.4 ahc.4 \
        ahcisata.4 ahd.4 \
-       aiboost.4 aibs.4 ale.4 alipm.4 altmem.4 amdpm.4 amdtemp.4 amhphy.4 \
+       aibs.4 ale.4 alipm.4 altmem.4 amdpm.4 amdtemp.4 amhphy.4 \
        amr.4 aps.4 \
        an.4 arcmsr.4 aria.4 artsata.4 ata.4 atalk.4 ataraid.4 \
        ath.4 atphy.4 atppc.4 attimer.4 atw.4 \
@@ -144,6 +144,7 @@
 MLINKS+=drm.4 viadrm.4
 
 MLINKS+=acpiec.4 acpiecdt.4
+MLINKS+=aibs.4 aiboost.4
 MLINKS+=ata.4 atabus.4
 MLINKS+=audio.4 audioctl.4
 MLINKS+=audio.4 mixer.4
Index: share/man/man4/acpi.4
===================================================================
RCS file: /cvsroot/src/share/man/man4/acpi.4,v
retrieving revision 1.41
diff -u -r1.41 acpi.4
--- share/man/man4/acpi.4       27 Feb 2010 21:12:58 -0000      1.41
+++ share/man/man4/acpi.4       6 Mar 2010 06:11:34 -0000
@@ -41,7 +41,6 @@
 .Cd "acpilid*  at acpi?"
 .Cd "acpismbus* at acpi?"
 .Cd "acpitz*   at acpi?"
-.Cd "aiboost*  at acpi?"
 .Cd "aibs*     at acpi?"
 .Cd "asus*     at acpi?"
 .Cd "attimer*  at acpi?"
@@ -200,8 +199,6 @@
 .It acpitz
 .Tn ACPI
 thermal zones.
-.It aiboost
-ASUS AI Booster Hardware monitor.
 .It aibs
 ASUSTeK AI Booster ACPI ATK0110 voltage, temperature and fan sensor.
 .It asus
@@ -394,7 +391,6 @@
 .Xr acpilid 4 ,
 .Xr acpismbus 4 ,
 .Xr acpitz 4 ,
-.Xr aiboost 4 ,
 .Xr aibs 4 ,
 .Xr apm 4 ,
 .Xr attimer 4 ,
Index: sys/arch/i386/conf/ALL
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/ALL,v
retrieving revision 1.248
diff -u -r1.248 ALL
--- sys/arch/i386/conf/ALL      4 Mar 2010 22:30:57 -0000       1.248
+++ sys/arch/i386/conf/ALL      6 Mar 2010 06:11:35 -0000
@@ -374,7 +374,6 @@
 acpiwmi*       at acpi?                # ACPI WMI Mapper
 
 # Mainboard devices
-aiboost*       at acpi?                # ASUS AI Booster Hardware Monitor
 aibs*          at acpi?                # ASUSTeK AI Booster hardware monitor
 asus*          at acpi?                # ASUS hotkeys
 attimer*       at acpi?                # AT Timer
Index: sys/dev/DEVNAMES
===================================================================
RCS file: /cvsroot/src/sys/dev/DEVNAMES,v
retrieving revision 1.256
diff -u -r1.256 DEVNAMES
--- sys/dev/DEVNAMES    6 Mar 2010 05:58:56 -0000       1.256
+++ sys/dev/DEVNAMES    6 Mar 2010 06:11:36 -0000
@@ -61,7 +61,6 @@
 ahsc                   amiga
 ahsc                   amigappc
 ai                     MI
-aiboost                        MI
 aibs                   MI
 aic                    MI
 akbd                   mac68k
Index: sys/dev/acpi/files.acpi
===================================================================
RCS file: /cvsroot/src/sys/dev/acpi/files.acpi,v
retrieving revision 1.67
diff -u -r1.67 files.acpi
--- sys/dev/acpi/files.acpi     9 Feb 2010 03:19:51 -0000       1.67
+++ sys/dev/acpi/files.acpi     6 Mar 2010 06:11:36 -0000
@@ -109,11 +109,6 @@
 attach         hpet at acpinodebus with hpet_acpi
 file   dev/acpi/hpet_acpi.c            hpet_acpi
 
-# ASUS AI Booster Hardware monitor
-device aiboost: sysmon_envsys
-attach aiboost at acpinodebus
-file   dev/acpi/aiboost.c              aiboost
-
 # ASUS hotkey device
 device asus: sysmon_envsys, sysmon_power
 attach asus at acpinodebus
Index: usr.sbin/envstat/envstat.8
===================================================================
RCS file: /cvsroot/src/usr.sbin/envstat/envstat.8,v
retrieving revision 1.55
diff -u -r1.55 envstat.8
--- usr.sbin/envstat/envstat.8  15 Feb 2010 22:38:28 -0000      1.55
+++ usr.sbin/envstat/envstat.8  6 Mar 2010 06:11:37 -0000
@@ -177,7 +177,6 @@
 .Xr acpibat 4 ,
 .Xr acpitz 4 ,
 .Xr admtemp 4 ,
-.Xr aiboost 4 ,
 .Xr aibs 4 ,
 .Xr amdtemp 4 ,
 .Xr aps 4 ,


Home | Main Index | Thread Index | Old Index