lanstreamer.c changes

From: Tim Waugh (twaugh@redhat.com)
Date: Fri Mar 24 2000 - 08:54:44 EST


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/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:12 EST