freebsd-dev/sys/isa
Bruce Evans d78180f8f5 Partial fix for a bug in rev.1.231. If suspend/resume clobbers the
RTC state, then it may clobber the RTC index register, so the index
register must be restored before using it to restore control registers
in rtc_restore().

The following problems remain:
- rtc_restore() is only called if pmtimer is configured.  Buggy
  suspend/resumes are more likely to clobber the index register than
  a control register, so pmtimer is more needed than it used to be.
- pmtimer doesn't exist for amd64.
- Restoring of the RTC state may race with rtcintr().  If an RTC
  interrupt is handled before the state is restored, then rtcin(RTC_INTR)
  in rtcintr() may read from the wrong register, so rtcintr() may spin
  forever.  This may be mitigated by the most common state clobbering
  being to turn off RTC interrupts.
2007-03-05 09:10:17 +00:00
..
atrtc.c Partial fix for a bug in rev.1.231. If suspend/resume clobbers the 2007-03-05 09:10:17 +00:00
isa_common.c Make the ISAPNP code optional and only enable it on i386 and pc98 (used 2006-06-12 21:07:13 +00:00
isa_common.h o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
isa_dmareg.h - Move bus dependent defines to {isa,cbus}_dmareg.h. 2005-05-14 10:14:56 +00:00
isa_if.m /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
isahint.c (apply '(lambda (reformat-region 'style-9-parens)) (read-file isahint.c)) 2006-07-08 16:50:10 +00:00
isareg.h - Move bus dependent defines to {isa,cbus}_dmareg.h. 2005-05-14 10:14:56 +00:00
isavar.h Add ISACFGATTR_HINTS flag to allow detection of a device that was created 2005-04-13 03:26:24 +00:00
orm.c These option roms are defined in the ISA standard, and in the ISA 2004-07-05 17:26:04 +00:00
pnp.c Fix an endianness issue in pnp_eisaformat(). This corrects printing PnP IDs 2005-09-28 15:01:58 +00:00
pnpparse.c Be consistent with the spelling of "dependent" in user-visible places. 2006-12-30 11:55:47 +00:00
pnpreg.h /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
pnpvar.h Various style(9) items before of some more extensive work: 2004-12-24 22:08:57 +00:00
rtc.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
syscons_isa.c Use pause() rather than tsleep() on explicit global dummy variables. 2007-02-27 17:22:30 +00:00
vga_isa.c Fix -Wundef. 2005-12-04 02:12:43 +00:00