[PATCH] smc91x addr config check
authorNicolas Pitre <nico@cam.org>
Fri, 13 May 2005 00:18:19 +0000 (20:18 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 13 May 2005 00:18:19 +0000 (20:18 -0400)
commit53155109b6ac611d9bb4a4ef9d3109b219b8d0e1
treef652feb315954c9569870518ec7502d56154b6e3
parent88d7bd8cb9eb8d64bf7997600b0d64f7834047c5
  [PATCH] smc91x addr config check

  The PAGE_SIZE mask is indeed confusing.  Use the exact mask for
  this context which has nothing to do with memory pages at all.
  Also cast to int since the value to compare with is an int.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/smc91x.c