Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1501348
| From | Robert Jarzmik <robert.jarzmik@free.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/3] support smc91x on mainstone and devicetree |
| Date | 2016-10-15 21:40 +0200 |
| Message-ID | <ssCYh-3DB-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This serie aims at bringing support to mainstone board on a device-tree based build, as what is already in place for legacy mainstone. The bulk of the mainstone "specific" behavior is that a u16 write doesn't work on a address of the form 4*n + 2, while it works on 4*n. The legacy workaround was in SMC_outw(), with calls to machine_is_mainstone(). These calls don't work with a pxa27x-dt machine type, which is used when a generic device-tree pxa27x machine is used to boot the mainstone board. Therefore, this serie enables the smc91c111 adapter of the mainstone board to work on a device-tree build, exaclty as it's been working for years with the legacy arch/arm/mach-pxa/mainstone.c definition. Cheers. -- Robert Robert Jarzmik (3): net: smc91x: isolate u16 writes alignment workaround net: smc91x: take into account half-word workaround net: smsc91x: add u16 workaround for pxa platforms .../devicetree/bindings/net/smsc-lan91c111.txt | 2 + drivers/net/ethernet/smsc/smc91x.c | 8 ++- drivers/net/ethernet/smsc/smc91x.h | 78 ++++++++++++---------- 3 files changed, 52 insertions(+), 36 deletions(-) -- 2.1.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 0/3] support smc91x on mainstone and devicetree Robert Jarzmik <robert.jarzmik@free.fr> - 2016-10-15 21:40 +0200
[PATCH v2 1/3] net: smc91x: isolate u16 writes alignment workaround Robert Jarzmik <robert.jarzmik@free.fr> - 2016-10-15 21:40 +0200
Re: [PATCH v2 1/3] net: smc91x: isolate u16 writes alignment workaround Robert Jarzmik <robert.jarzmik@free.fr> - 2016-10-15 23:20 +0200
Re: [PATCH v2 1/3] net: smc91x: isolate u16 writes alignment workaround Robert Jarzmik <robert.jarzmik@free.fr> - 2016-10-16 12:10 +0200
csiph-web