u32 Post_Command; u32 Post_Address; 
__le32 Post_Command; __le32 Post_Address; 
static int aac_rkt_check_health(struct aac_dev *dev){	u32 status = rkt_readl(dev, MUnit.OMRx[0]);	/*	 *	Check to see if the board failed any self tests.	 */	if (status & SELF_TEST_FAILED)		return -1;	/*	 *	Check to see if the board panic'd.	 */	if (status & KERNEL_PANIC) {		char * buffer;		struct POSTSTATUS {			u32 Post_Command;			u32 Post_Address;		} * post;		dma_addr_t paddr, baddr;		int ret;		if ((status & 0xFF000000L) == 0xBC000000L)			return (status >> 16) & 0xFF;		buffer = pci_alloc_consistent(dev->pdev, 512, &baddr);		ret = -2;		if (buffer == NULL)			return ret;		post = pci_alloc_consistent(dev->pdev,		  sizeof(struct POSTSTATUS), &paddr);		if (post == NULL) {			pci_free_consistent(dev->pdev, 512, buffer, baddr);			return ret;		}                memset(buffer, 0, 512);		post->Post_Command = cpu_to_le32(COMMAND_POST_RESULTS);                post->Post_Address = cpu_to_le32(baddr);                rkt_writel(dev, MUnit.IMRx[0], paddr);                rkt_sync_cmd(dev, COMMAND_POST_RESULTS, baddr, &status);		pci_free_consistent(dev->pdev, sizeof(struct POSTSTATUS),		  post, paddr);                if ((buffer[0] == '0') && (buffer[1] == 'x')) {                        ret = (buffer[2] <= '9') ? (buffer[2] - '0') : (buffer[2] - 'A' + 10);                        ret <<= 4;                        ret += (buffer[3] <= '9') ? (buffer[3] - '0') : (buffer[3] - 'A' + 10);                }		pci_free_consistent(dev->pdev, 512, buffer, baddr);                return ret;        }	/*	 *	Wait for the adapter to be up and running.	 */	if (!(status & KERNEL_UP_AND_RUNNING))		return -3;	/*	 *	Everything is OK	 */	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/56b5871223f66d4a34e6e1069f241077e9f0a154/rkt.c/clean/drivers/scsi/aacraid/rkt.c