Messages in this thread Patch in this message | | | Date | Fri, 24 Mar 2000 13:54:44 +0000 (GMT) | From | Tim Waugh <> | Subject | lanstreamer.c changes |
| |
What is this for?
Index: linux/drivers/net/tokenring/lanstreamer.c diff -u linux/drivers/net/tokenring/lanstreamer.c:1.1.1.1 linux/drivers/net/tokenring/lanstreamer.c:1.1.1.2 --- linux/drivers/net/tokenring/lanstreamer.c:1.1.1.1 Tue Mar 14 11:35:38 2000 +++ linux/drivers/net/tokenring/lanstreamer.c Wed Mar 22 09:16:15 2000 @@ -210,7 +212,7 @@ /* Check to see if io has been allocated, if so, we've already done this card, so continue on the card discovery loop */ - if (check_region(pci_device->resource[0].start, STREAMER_IO_SPACE)) + if (check_region(pci_device->resource[0].start & (~3), STREAMER_IO_SPACE)) { card_no++; continue; Shouldn't resource[x].start already be appropriately masked? And anyway, if we're going to mask it, we should use PCI_BASE_ADDRESS_IO_MASK.
Tim. */
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |