/*++\r
-Copyright (c) 2006, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+Copyright (c) 2006 - 2007, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
Module Name:\r
\r
//\r
// bit definition\r
//\r
-#define bit(a) 1 << (a)\r
+#define bit(a) (1 << (a))\r
\r
//\r
// timeout unit is in millisecond.\r
//\r
-#define USBFLPTIMEOUT 2000\r
-#define STALL_1_MILLI_SECOND 1000\r
\r
+#define STALL_1_MILLI_SECOND 1000\r
+#define USBFLPTIMEOUT STALL_1_MILLI_SECOND\r
+#define USBDATATIMEOUT 2 * STALL_1_MILLI_SECOND\r
//\r
// ATAPI Packet Command\r
//\r