#ifndef __CS461X_H
#define __CS461X_H
/*
* Copyright (c) by Cirrus Logic Corporation <pcaudio@crystal.cirrus.com>
* Copyright (c) by Jaroslav Kysela <perex@suse.cz>
* Definitions for Cirrus Logic CS461x chips
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef PCI_VENDOR_ID_CIRRUS
#define PCI_VENDOR_ID_CIRRUS 0x1013
#endif
#ifndef PCI_DEVICE_ID_CIRRUS_4610
#define PCI_DEVICE_ID_CIRRUS_4610 0x6001
#endif
#ifndef PCI_DEVICE_ID_CIRRUS_4612
#define PCI_DEVICE_ID_CIRRUS_4612 0x6003
#endif
#ifndef PCI_DEVICE_ID_CIRRUS_4615
#define PCI_DEVICE_ID_CIRRUS_4615 0x6004
#endif
/*
* Direct registers
*/
/*
* The following define the offsets of the registers accessed via base address
* register zero on the CS461x part.
*/
#define BA0_HISR 0x00000000
#define BA0_HSR0 0x00000004
#define BA0_HICR 0x00000008
#define BA0_DMSR 0x00000100
#define BA0_HSAR 0x00000110
|