switch (state) {
if (platform_pci_choose_state) { ret = platform_pci_choose_state(dev, state); if (ret >= 0) state = ret; } switch (state) {
pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state){	if (!pci_find_capability(dev, PCI_CAP_ID_PM))		return PCI_D0;	switch (state) {	case 0: return PCI_D0;	case 3: return PCI_D3hot;	default:		printk("They asked me for state %d\n", state);		BUG();	}	return PCI_D0;}