get_board_id(outbox + QUERY_ADAPTER_VSD_OFFSET / 4, adapter->board_id);  
int mthca_QUERY_ADAPTER(struct mthca_dev *dev,			struct mthca_adapter *adapter, u8 *status){	struct mthca_mailbox *mailbox;	u32 *outbox;	int err;#define QUERY_ADAPTER_OUT_SIZE             0x100#define QUERY_ADAPTER_VENDOR_ID_OFFSET     0x00#define QUERY_ADAPTER_DEVICE_ID_OFFSET     0x04#define QUERY_ADAPTER_REVISION_ID_OFFSET   0x08#define QUERY_ADAPTER_INTA_PIN_OFFSET      0x10	mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL);	if (IS_ERR(mailbox))		return PTR_ERR(mailbox);	outbox = mailbox->buf;	err = mthca_cmd_box(dev, 0, mailbox->dma, 0, 0, CMD_QUERY_ADAPTER,			    CMD_TIME_CLASS_A, status);	if (err)		goto out;	MTHCA_GET(adapter->vendor_id, outbox,   QUERY_ADAPTER_VENDOR_ID_OFFSET);	MTHCA_GET(adapter->device_id, outbox,   QUERY_ADAPTER_DEVICE_ID_OFFSET);	MTHCA_GET(adapter->revision_id, outbox, QUERY_ADAPTER_REVISION_ID_OFFSET);	MTHCA_GET(adapter->inta_pin, outbox,    QUERY_ADAPTER_INTA_PIN_OFFSET);out:	mthca_free_mailbox(dev, mailbox);	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/2e8b981c5d5c6fe5479ad47c44e3e76ebb5408ef/mthca_cmd.c/clean/drivers/infiniband/hw/mthca/mthca_cmd.c