ATA link errors in custom PATA driver

2018-09-05 Thread Nathan Williams
Hi, I have a Altera socfpga platform that implements a very basic ATA PIO0 Compact Flash controller in the FPGA and I have a very basic PATA Linux driver that does MMIO to the FPGA registers and configures 3 GPIOs for power, reset and card detect. It's basically a copy of pata_platform.c with a ch

Re: What is the point of this function?

2016-06-20 Thread Nathan Williams
On Tue, 2016-06-21 at 00:48 +0200, Andrea Benelli wrote: > Hello, i was looking at the linux/sched.h (kernel version 4.6.2) > source code and i found this function at line 1174: > > static inline bool cpus_share_cache(int this_cpu, int that_cpu) > { > return true; > } > > I'm not able to

Re: want to clarify a couple things about initramfs

2016-06-19 Thread Nathan Williams
On Sun, 2016-06-19 at 09:55 -0400, Robert P. J. Day wrote: > is all that still accurate? again, i'm sure i can confirm that once > i start digging through the code. in my case, i don't think i'll need > an external initramfs if i can cram everything i need into the one > embedded in the kernel.

gpio-mcp23s08 driver with multiple chips

2016-06-09 Thread Nathan Williams
Hi, I'm using the GPIO driver gpio-mcp23s08 for two MCP23S17 chips that use the same SPI chip select (and different addresses). My device tree contains: &spi0 { status = "okay"; bus-num = <0>; num-cs = <2>; cs-gpios = <&portc 2 0>,