rem: status_t status;
context: sis900_reset(struct sis_info *info){	uint32 address = (uint32)info->registers + SiS900_MAC_COMMAND;	int16 tries = 1000;	status_t status;	TRACE(("sis900 reset\n"));	//write32((uint32)info->registers + SiS900_MAC_INTR_MASK,0);	//write32((uint32)info->registers + SiS900_MAC_INTR_ENABLE,0);	write32(address, SiS900_MAC_CMD_RESET);	write32((uint32)info->registers + SiS900_MAC_Rx_FILTER_CONTROL, SiS900_RxF_ENABLE |			SiS900_RxF_ACCEPT_ALL_BROADCAST | SiS900_RxF_ACCEPT_ALL_MULTICAST);	// wait until the chip leaves reset state	while ((read32(address) & SiS900_MAC_CMD_RESET) && tries-- > 0)		snooze(2);	write32((uint32)info->registers + SiS900_MAC_COMMAND, SiS900_MAC_CMD_Tx_ENABLE);	return B_OK;}