[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150712.202513.301354636371108143.davem@davemloft.net>
Date: Sun, 12 Jul 2015 20:25:13 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vivien.didelot@...oirfairelinux.com
Cc: netdev@...r.kernel.org, linux@...ck-us.net, andrew@...n.ch,
linux-kernel@...r.kernel.org, kernel@...oirfairelinux.com
Subject: Re: [PATCH v2] net: dsa: mv88e6xxx: add write access to debugfs
regs file
From: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Date: Sun, 12 Jul 2015 21:39:30 -0400 (EDT)
> I hardly see how this debug interface can be made generic to other
> DSA drivers, since the format of hardware tables or some registers
> seem very specific to the switch chip.
You feel this way because you are focusing on register values and not what
those values represent.
Ie. could you export the values in those registers in a generic format
that other devices could convert their register values to as well?
Stop focusing so tightly on the exact thing you've implemented and
consider things on a much higher level.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists