; Project name : XTIDE Universal BIOS ; Description : Promise PDC 20230-C and 20630 VLB IDE controller ; specifications. ; ; XTIDE Universal BIOS and Associated Tools ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team. ; ; 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. ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html ; %ifndef PDC20x30_INC %define PDC20x30_INC ; ; SECTOR_COUNT_REGISTER (1F2) in programming mode FLG_PDCSCR_BOTHMAX EQU (1<<6) ; Master and Slave at maximum speed ; SECTOR_NUMBER_REGISTER (1F3) in programming mode FLG_PDCSNR_UNKNOWN_BIT7 EQU (1<<7) ; Set to 1 for speed setting 7 of device 0 or 1 FLG_PDCSNR_ID3 EQU (1<<6) ; VLB bus speed: 0 > 33 MHz, 1 <= 33 MHz POS_PDCSNR_DEV0SPEED EQU 3 MASK_PDCSNR_DEV0SPEED EQU (7<