Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1307065

Re: [PATCH v2 3/3] can: sja1000: of: add compatibility with Technologic Systems version

From Marc Kleine-Budde <mkl@pengutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2 3/3] can: sja1000: of: add compatibility with Technologic Systems version
Date 2016-01-12 09:00 +0100
Message-ID <qQ21X-6gQ-3@gated-at.bofh.it> (permalink)
References <qJibv-1fE-7@gated-at.bofh.it> <qJibv-1fE-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 12/24/2015 06:42 PM, Damien Riegel wrote:
> Technologic Systems provides an IP compatible with the SJA1000,
> instantiated in an FPGA. Because of some bus widths issue, access to
> registers is made through a "window" that works like this:
> 
>     base + 0x0: address to read/write
>     base + 0x2: 8-bit register value

Why do you use io{read,write}16 if it's a 8 bit register?

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 3/3] can: sja1000: of: add compatibility with  Technologic Systems version Marc Kleine-Budde <mkl@pengutronix.de> - 2016-01-12 09:00 +0100
  Re: [PATCH v2 3/3] can: sja1000: of: add compatibility with  Technologic Systems version Damien Riegel <damien.riegel@savoirfairelinux.com> - 2016-01-12 17:00 +0100

csiph-web