| 1 |
/* |
| 2 |
* smc34c90.h 1.10 2001/08/24 12:15:34 |
| 3 |
* |
| 4 |
* The contents of this file are subject to the Mozilla Public License |
| 5 |
* Version 1.1 (the "License"); you may not use this file except in |
| 6 |
* compliance with the License. You may obtain a copy of the License |
| 7 |
* at http://www.mozilla.org/MPL/ |
| 8 |
* |
| 9 |
* Software distributed under the License is distributed on an "AS IS" |
| 10 |
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See |
| 11 |
* the License for the specific language governing rights and |
| 12 |
* limitations under the License. |
| 13 |
* |
| 14 |
* The initial developer of the original code is David A. Hinds |
| 15 |
* <[email protected]>. Portions created by David A. Hinds |
| 16 |
* are Copyright (C) 1999 David A. Hinds. All Rights Reserved. |
| 17 |
* |
| 18 |
* Alternatively, the contents of this file may be used under the |
| 19 |
* terms of the GNU General Public License version 2 (the "GPL"), in |
| 20 |
* which case the provisions of the GPL are applicable instead of the |
| 21 |
* above. If you wish to allow the use of your version of this file |
| 22 |
* only under the terms of the GPL and not to allow others to use |
| 23 |
* your version of this file under the MPL, indicate your decision by |
| 24 |
* deleting the provisions above and replace them with the notice and |
| 25 |
* other provisions required by the GPL. If you do not delete the |
| 26 |
* provisions above, a recipient may use your version of this file |
| 27 |
* under either the MPL or the GPL. |
| 28 |
*/ |
| 29 |
|
| 30 |
#ifndef _LINUX_SMC34C90_H |
| 31 |
#define _LINUX_SMC34C90_H |
| 32 |
|
| 33 |
#ifndef PCI_VENDOR_ID_SMC |
| 34 |
#define PCI_VENDOR_ID_SMC 0x10b3 |
| 35 |
#endif |
| 36 |
|
| 37 |
#ifndef PCI_DEVICE_ID_SMC_34C90 |
| 38 |
#define PCI_DEVICE_ID_SMC_34C90 0xb106 |
| 39 |
#endif |
| 40 |
|
| 41 |
/* Register definitions for SMC 34C90 PCI-to-CardBus bridge */ |
| 42 |
|
| 43 |
/* EEPROM Information Register */ |
| 44 |
#define SMC34C90_EEINFO 0x0088 |
| 45 |
#define SMC34C90_EEINFO_ONE_SOCKET 0x0001 |
| 46 |
#define SMC34C90_EEINFO_5V_ONLY 0x0002 |
| 47 |
#define SMC34C90_EEINFO_ISA_IRQ 0x0004 |
| 48 |
#define SMC34C90_EEINFO_ZV_PORT 0x0008 |
| 49 |
#define SMC34C90_EEINFO_RING 0x0010 |
| 50 |
#define SMC34C90_EEINFO_LED 0x0020 |
| 51 |
|
| 52 |
#define SMC_PCIC_ID \ |
| 53 |
IS_SMC34C90 |
| 54 |
|
| 55 |
#define SMC_PCIC_INFO \ |
| 56 |
{ "SMC 34C90", IS_CARDBUS, ID(SMC, 34C90) } |
| 57 |
|
| 58 |
#endif /* _LINUX_SMC34C90_H */ |