lkml.org 
[lkml]   [2000]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectlanstreamer.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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.023 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site