These appear to be necessary for a pci cardbus card, but not for laptops.
Ifdef them out until I figure out the right way to configure this. This solves Nate's hangs as well as Anders Andersson's. MCF: Soon.
This commit is contained in:
parent
6db5812aef
commit
abd21a2011
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82032
@ -334,10 +334,12 @@ pcic_pci_ti_init(device_t dev)
|
||||
* Takeshi Shibagaki(shiba@jp.freebsd.org)
|
||||
*/
|
||||
if (sc->func_route >= pci_parallel) {
|
||||
#ifdef PCI_CARDBUS_CARD
|
||||
devcntl &= ~TI113X_DEVCNTL_INTR_MASK;
|
||||
pci_write_config(dev, TI113X_PCI_DEVICE_CONTROL, devcntl, 1);
|
||||
devcntl = pci_read_config(dev, TI113X_PCI_DEVICE_CONTROL, 1);
|
||||
syscntl |= TI113X_SYSCNTL_INTRTIE;
|
||||
#endif
|
||||
syscntl &= ~TI113X_SYSCNTL_SMIENB;
|
||||
pci_write_config(dev, TI113X_PCI_SYSTEM_CONTROL, syscntl, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user