On Tue, 4 Sep 2001, Ollie Lho wrote:
> Nikolai Vladychevski wrote:
> >
> >
> > guess what? It worked....... with lucent modem (haven't tested other modems,
> > and I won't, tired already of this stuff) . The problem was that the device
> > wasn't enabled correctly, I added :
> >
> > u16 cmd=PCI_COMMAND_MASTER;
> > printk_info("... Setting irq 10 for Lucent modem...");
> > pci_write_config_byte(pcidev, 0x3c, 10);
> > // setting it for master
> > pci_write_config_byte(pcidev, PCI_LATENCY_TIMER, 32);
> > pci_write_config_word(pcidev, PCI_COMMAND, cmd);
> >
> > to the newpci.c (kernel isn't enabling this pci device, I beleive there is
> > something wrong with linuxbios, when booting with sis630 kernel does all the
> > job)
> >
> > and to the lucent driver I had to modify lt_modem.c to add
> > "pci_enable_device" and setting it for mastering:
> >
> > pci_enable_device(dev);
> > pci_write_config_byte(dev, PCI_LATENCY_TIMER, 32);
> > pci_set_master(dev);
> >
Nikolai, I think you should fix the driver, not add that hack to
linuxbios.
thanks
ron