]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[netdrvr] tulip/winbond-840: don't let tulip.h symbol stomp ours
authorJeff Garzik <jeff@garzik.org>
Thu, 17 Apr 2008 00:37:24 +0000 (20:37 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 00:37:24 +0000 (20:37 -0400)
commit48dd59e398455b58910910bc272e0da85f11bd98
treee26aa115aefd71e89d55003213983542b9ed71ff
parentdc13b385999f163dc30c73d66f2ac6d67410528d
[netdrvr] tulip/winbond-840: don't let tulip.h symbol stomp ours

winbond-840 shares tulip.h with the tulip driver, because they share
many (but not all) of the same register definitions.

This is useful for the register definitions, but not helpful when it
comes to symbols that are shared among the tulip driver's C modules,
but not meant to be shared outside that one driver.

Thus, PKT_BUF_SZ is a symbol internal to tulip, but it was intruding
upon a similar symbol in winbond-840's namespace.  This was not a
problem as long as the two symbols had the same value, but upcoming
patches result in differing symbol values.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/tulip/winbond-840.c