revert between 56095 -> 55830 in arch
[AROS.git] / workbench / devs / networks / prism2 / plx9052.h
blob6b6cee2ea095a749dd5c997fa94c42662631cac5
1 /*
3 Copyright (C) 2008 Neil Cafferkey
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
18 MA 02111-1307, USA.
22 #ifndef PLX9052_H
23 #define PLX9052_H
26 /* Registers */
27 /* ========= */
29 #define PLX9052_INTS 0x4c
30 #define PLX9052_CNTRL 0x50
33 /* Register Details */
34 /* ================ */
36 /* Control Register */
38 #define PLX9052_CNTRLB_PCI21 14
39 #define PLX9052_CNTRLB_RETRIES 19
41 #define PLX9052_CNTRLF_PCI21 (1 << PLX9052_CNTRLB_PCI21)
42 #define PLX9052_CNTRLF_RETRIES (0xf << PLX9052_CNTRLB_RETRIES)
44 #endif