From: Holger Nelson Date: Wed, 20 Sep 2006 20:37:58 +0000 (+0000) Subject: Added reading docking-status for TSM40-class Laptops. X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=408cb18f1f90511af19f93f8fdf433ea83e6a9a1;p=omnibook.git Added reading docking-status for TSM40-class Laptops. --- diff --git a/dock.c b/dock.c index 285ae15..b7a5942 100644 --- 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, };