]> Devoid-pointer.net GitWeb - omnibook.git/commitdiff
Added reading docking-status for TSM40-class Laptops.
authorHolger Nelson <hnelson@hnelson.de>
Wed, 20 Sep 2006 20:37:58 +0000 (20:37 +0000)
committerHolger Nelson <hnelson@hnelson.de>
Wed, 20 Sep 2006 20:37:58 +0000 (20:37 +0000)
dock.c

diff --git a/dock.c b/dock.c
index 285ae1597c2df498d9cd7604bdf96eee33f3849c..b7a59427e7022bebf3729c9c2d68bec048ba8412 100644 (file)
--- a/dock.c
+++ b/dock.c
@@ -37,6 +37,7 @@ static struct omnibook_tbl dock_table[] __initdata = {
        {XE3GF, SIMPLE_BYTE(EC, XE3GF_CSPR, XE3GF_CSPR_MASK)},
        {OB500 | OB510 | OB6000 | OB6100, SIMPLE_BYTE(EC, OB500_STA1, OB500_DCKS_MASK)},
        {OB4150, SIMPLE_BYTE(EC, OB4150_DCID, 0)},
+       {TSM40, {SMI, SMI_GET_DOCK, SMI_SET_DOCK, 0, 0, 0}},
        {0,}
 };
 
@@ -44,7 +45,7 @@ static struct omnibook_feature __declared_feature dock_driver = {
        .name = "dock",
        .enabled = 0,
        .read = omnibook_dock_read,
-       .ectypes = XE3GF | OB500 | OB510 | OB6000 | OB6100 | OB4150,
+       .ectypes = XE3GF | OB500 | OB510 | OB6000 | OB6100 | OB4150 | TSM40,
        .tbl = dock_table,
 };