/* Returns 1 if bus reset already in progress, 0 otherwise.  */
int hpsb_reset_bus(struct hpsb_host *host, int type)
/* Returns 1 if bus reset already in progress, 0 otherwise.  */
int hpsb_reset_bus(struct hpsb_host *host, int type)
{
	if (!host->in_bus_reset) {
		host->driver->devctl(host, RESET_BUS, type);
		return 0;
	} else {
		return 1;
	}
}