mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PATCH: header update for arcnet updates (again to match 2.4)
@ 2003-02-15 19:31 Alan Cox
  2003-02-16 10:18 ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Cox @ 2003-02-15 19:31 UTC (permalink / raw)
  To: linux-kernel, torvalds

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.61/include/linux/com20020.h linux-2.5.61-ac1/include/linux/com20020.h
--- linux-2.5.61/include/linux/com20020.h	2003-02-10 18:37:58.000000000 +0000
+++ linux-2.5.61-ac1/include/linux/com20020.h	2003-02-14 23:32:27.000000000 +0000
@@ -32,7 +32,7 @@
 void com20020_remove(struct net_device *dev);
 
 /* The number of low I/O ports used by the card. */
-#define ARCNET_TOTAL_SIZE 9
+#define ARCNET_TOTAL_SIZE 8
 
 /* various register addresses */
 #define _INTMASK  (ioaddr+0)	/* writable */
@@ -59,6 +59,8 @@
 
 /* in SETUP register */
 #define PROMISCset	0x10	/* enable RCV_ALL */
+#define P1MODE		0x80    /* enable P1-MODE for Backplane */
+#define SLOWARB		0x01    /* enable Slow Arbitration for >=5Mbps */
 
 /* COM2002x */
 #define SUB_TENTATIVE	0	/* tentative node ID */

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PATCH: header update for arcnet updates (again to match 2.4)
  2003-02-15 19:31 PATCH: header update for arcnet updates (again to match 2.4) Alan Cox
@ 2003-02-16 10:18 ` David Woodhouse
  2003-02-16 14:11   ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: David Woodhouse @ 2003-02-16 10:18 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel, torvalds

On Sat, 2003-02-15 at 19:31, Alan Cox wrote:
> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.61/include/linux/com20020.h linux-2.5.61-ac1/include/linux/com20020.h
> --- linux-2.5.61/include/linux/com20020.h	2003-02-10 18:37:58.000000000 +0000
> +++ linux-2.5.61-ac1/include/linux/com20020.h	2003-02-14 23:32:27.000000000 +0000
> @@ -32,7 +32,7 @@
>  void com20020_remove(struct net_device *dev);
>  
>  /* The number of low I/O ports used by the card. */
> -#define ARCNET_TOTAL_SIZE 9
> +#define ARCNET_TOTAL_SIZE 8

Er, is this definitely right?

Don't we often have the hardware address in a set of DIP switches at
ioaddr+8?

-- 
dwmw2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PATCH: header update for arcnet updates (again to match 2.4)
  2003-02-16 14:11   ` Alan Cox
@ 2003-02-16 13:37     ` David Woodhouse
  0 siblings, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2003-02-16 13:37 UTC (permalink / raw)
  To: Alan Cox; +Cc: Linux Kernel Mailing List, Linus Torvalds

On Sun, 2003-02-16 at 14:11, Alan Cox wrote:
> On the 20020 ?

On the ISA COM20020 eval boards from SMC, yes -- that's what my addled
brain seems to recall, and I'm inclined to believe it this time because
com20020.c::com20020_found() still has the following:

        if (!dev->dev_addr[0])
                dev->dev_addr[0] = inb(ioaddr + 8);     /* FIXME: do this some other way! */

-- 
dwmw2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PATCH: header update for arcnet updates (again to match 2.4)
  2003-02-16 10:18 ` David Woodhouse
@ 2003-02-16 14:11   ` Alan Cox
  2003-02-16 13:37     ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Cox @ 2003-02-16 14:11 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Linux Kernel Mailing List, Linus Torvalds

On Sun, 2003-02-16 at 10:18, David Woodhouse wrote:
> >  /* The number of low I/O ports used by the card. */
> > -#define ARCNET_TOTAL_SIZE 9
> > +#define ARCNET_TOTAL_SIZE 8
> 
> Er, is this definitely right?
> 
> Don't we often have the hardware address in a set of DIP switches at
> ioaddr+8?

On the 20020 ?

If so I need to make the size conditional on card


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-16 13:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-15 19:31 PATCH: header update for arcnet updates (again to match 2.4) Alan Cox
2003-02-16 10:18 ` David Woodhouse
2003-02-16 14:11   ` Alan Cox
2003-02-16 13:37     ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®