Mercurial > pt1.oyama
view driver/pt1_pci.h @ 100:aeba1988234f
support macros to specify sid:
- macros: hd, sd1, sd2, sd3, 1seg and all are supported.
- if sid has been specified but no suitable sid found, fall back to "all".
technical summary:
- use splitter structure as the argument where it is applicable.
- add tab configuration to some source files.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 13 Feb 2010 19:43:25 +0900 |
parents | 98a92ce5382e |
children |
line wrap: on
line source
#ifndef __PT1_PCI_H__ #define __PT1_PCI_H__ /***************************************************************************/ /* PCIアドレス定義 */ /***************************************************************************/ #define FIFO_GO 0x04 // FIFO実行 #define FIFO_DONE 0x80 // FIFO 実行中ビット /***************************************************************************/ /* PCIアドレス定義 */ /***************************************************************************/ #define FIFO_GO_ADDR 0x00 // FIFO 実行アドレス #define FIFO_RESULT_ADDR 0x00 // FIFO 結果情報 #define CFG_REGS_ADDR 0x04 #define I2C_RESULT_ADDR 0x08 // I2C処理結果 #define FIFO_ADDR 0x10 // FIFOに書くアドレス #define DMA_ADDR 0x14 // DMA設定に書くアドレス #define TS_TEST_ENABLE_ADDR 0x08 // /***************************************************************************/ /* DMAエラー定義 */ /***************************************************************************/ #define MICROPACKET_ERROR 1 // Micro Packetエラー #define BIT_RAM_OVERFLOW (1 << 3) // #define BIT_INITIATOR_ERROR (1 << 4) // #define BIT_INITIATOR_WARNING (1 << 5) // #endif