[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0712180019590.32270@fbirervta.pbzchgretzou.qr>
Date: Tue, 18 Dec 2007 00:20:44 +0100 (CET)
From: Jan Engelhardt <jengelh@...putergmbh.de>
To: Paul Mundt <lethal@...ux-sh.org>
cc: Adrian McMenamin <lkmladrian@...il.com>,
linux-kernel@...r.kernel.org, linux-ide@...r.kernel.org,
linux-sh@...r.kernel.org, axboe@...nel.dk
Subject: Re: [PATCH 2/3] Add GD-Rom support to the SEGA Dreamcast
On Dec 16 2007 18:50, Paul Mundt wrote:
>On Sun, Dec 16, 2007 at 12:21:21AM +0000, Adrian McMenamin wrote:
>> +/* GD Rom registers */
>> +#define GDROM_BASE_REG 0xA05F7000
>> +#define GDROM_ALTSTATUS_REG GDROM_BASE_REG + 0x18
>> +#define GDROM_DATA_REG GDROM_BASE_REG + 0x80
>> +#define GDROM_ERROR_REG GDROM_BASE_REG + 0x84
>> +#define GDROM_INTSEC_REG GDROM_BASE_REG + 0x88
>> +#define GDROM_SECNUM_REG GDROM_BASE_REG + 0x8C
>> +#define GDROM_BCL_REG GDROM_BASE_REG + 0x90
>> +#define GDROM_BCH_REG GDROM_BASE_REG + 0x94
>> +#define GDROM_DSEL_REG GDROM_BASE_REG + 0x98
>> +#define GDROM_STATUSCOMMAND_REG GDROM_BASE_REG + 0x9C
>> +#define GDROM_RESET_REG GDROM_BASE_REG + 0x4E4
>> +
>> +#define GDROM_DATA_REG_P0 0x005F7080
>> +
>> +#define GDROM_DMA_STARTADDR_REG GDROM_BASE_REG + 0x404
>> +#define GDROM_DMA_LENGTH_REG GDROM_BASE_REG + 0x408
>> +#define GDROM_DMA_DIRECTION_REG GDROM_BASE_REG + 0x40C
>> +#define GDROM_DMA_ENABLE_REG GDROM_BASE_REG + 0x414
>> +#define GDROM_DMA_STATUS_REG GDROM_BASE_REG + 0x418
>> +#define GDROM_DMA_WAIT_REG GDROM_BASE_REG + 0x4A0
>> +#define GDROM_DMA_ACCESS_CTRL_REG GDROM_BASE_REG + 0x4B8
>> +
>These should all be encapsulated by brackets.
Or making it an enum {
GDROM_DMA_ACCESS_CTL_REG = GDROM_BASE_REG + 0x4B8,
}; without brackets.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists