| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
|
| 3 |
/*************************************************************************** |
| 4 |
* Quancom pci stuff |
| 5 |
* copyright (C) 2005 by Frank Mori Hess |
| 6 |
***************************************************************************/ |
| 7 |
|
| 8 |
#ifndef _QUANCOM_PCI_H |
| 9 |
#define _QUANCOM_PCI_H |
| 10 |
|
| 11 |
/* quancom registers */ |
| 12 |
enum quancom_regs { |
| 13 |
QUANCOM_IRQ_CONTROL_STATUS_REG = 0xfc, |
| 14 |
}; |
| 15 |
|
| 16 |
enum quancom_irq_control_status_bits { |
| 17 |
QUANCOM_IRQ_ASSERTED_BIT = 0x1, /* readable */ |
| 18 |
/* (any write to the register clears the interrupt)*/ |
| 19 |
QUANCOM_IRQ_ENABLE_BIT = 0x4, /* writeable */ |
| 20 |
}; |
| 21 |
|
| 22 |
#endif // _QUANCOM_PCI_H |