Messages in this thread |  | | Subject | Re: [Fwd: 2.4.0-test12-pre7] | Date | Thu, 7 Dec 2000 16:30:35 +0000 (GMT) | From | Alan Cox <> |
| |
> I think that Linus's patch is correct and that > pci/setup_res.c::pdev_enable_device() shouldn't be doing this: > > /* ??? Always turn on bus mastering. If the device doesn't support > it, the bit will go into the bucket. */ > cmd |= PCI_COMMAND_MASTER; > > First, the ??? makes it iffy.
I would agree. There is hardware you need to enable, reset, configure and then enable the master bit on otherwise it simply starts spraying random memory addresses with bus master transfers from uninitialised hardware registers
> by a soft boot), then the device still knows some memory addresses > to DMA into, but it shouldn't be using those. This is addressed
Yep. Seen that happen with amd pcnet32 stuff when net booting. The net booter left the chip prattling into main memory, not pretty
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |