NetBSD/sys/conf
bouyer 8282898f08 The loongon2f+cs5526+jmicron PATA->SATA bridge cause an interresting issue:
1) because the CS5536 is not associated with a x86 CPU, interrupts are not
  ack'ed as it expects so interrupts cannot configured as edge-triggered
  (as is expected for a PCIIDE in compat mode)
2) the PATA->SATA bridge ignores the WDC_IDS (interrupt disable bit) so
  the PATA IRQ line gets asserted when resetting or running some polled
  commands. It also wrongly asserts IRQ when the (nonexistent) slave
  device is selected
2) wouldn't be an issue with edge-triggered interrupt because we would
   get a spurious interrupt and continue operation, a new interrupt only shows
   up when the PATA IRQ line goes low and high again. But because of 1),
   we get an unclearable interrupt instead, and the system loops on the
   interrupt handler.

To workaround this, introduce a WDC_NO_IDS compile option which runs
all polled commands (including reset) at splbio() and without sleeps,
so that the controller's interrupt is effectively disabled and
won't be reenabled before the interrupt can be cleared.

The conditions triggering this problem are speficic enough to handle
this via a compile-time option; no need for a run-time (e.g. a
config(9), device property or callback to disable interrupts) solution.
2011-08-27 17:05:57 +00:00
..
copyright Revert previous. Add 2011 to the list in old format. 2011-01-01 01:36:10 +00:00
debugsyms.c Remove some unecessary includes sys/user.h header. 2009-11-23 02:13:44 +00:00
files The loongon2f+cs5526+jmicron PATA->SATA bridge cause an interresting issue: 2011-08-27 17:05:57 +00:00
majors reserve char 200 for dtv 2011-07-09 14:47:27 +00:00
Makefile.kern.inc Remove gcc-4.5 hacks 2011-08-18 02:19:20 +00:00
mkldscript.sh Move mkldscript.sh, which is used to create ldscript dynamically to 2007-03-04 02:35:49 +00:00
newvers_stand.sh Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly 2011-01-22 19:19:14 +00:00
newvers.sh Remove ad clause on a UCB license. 2010-01-10 23:55:03 +00:00
osrelease.sh Fix borkeage 2009-11-15 18:41:08 +00:00
param.c Remove separate mb_map. The nmbclusters is computed at boot time based 2010-02-08 19:02:25 +00:00
std Remove uarea swap-out functionality: 2009-10-21 21:11:57 +00:00