Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2001 21:47:58 -0700 (PDT)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pccard pcic.c pcic_isa.c pcic_pci.c pcic_pci.h pcicvar.h
Message-ID:  <200109040447.f844lwZ70721@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

imp         2001/09/03 21:47:58 PDT

  Modified files:
    sys/pccard           pcic.c pcic_isa.c pcic_pci.c pcic_pci.h 
                         pcicvar.h 
  Log:
  Move to using a chip function + function pointers to deal with the
  function and csc interrupt routing path (eg, ISA or PCI) so that we
  can more easily switch between the two.
  
  When we don't have a card ISR, put the function interrupt into ISA
  mode.  This effectively masks the interrupt since it happens once, and
  not again until we have an ISR.  This should help hangs, and might
  help people that unwisely update the kernel w/o updating pccardd.
  This is done at mapirq time.
  
  Force CL-PD6729/30 to use ISA interrupt routing and maybe even detect
  the number of pccard slots properly (this is still WIP).  We aren't
  going to support PCI interrupts for this release.  A future release
  should support them, however.  Shibata-san's 3.3V fixes are not
  included.
  
  Add a hack which should, in i386, rewrite IRQ 0 cardbus bridges to be
  IRQ 255, which should cause interrupts to be routed.  This is mostly
  untested since my one tester disappeared after reporting nothing
  changed.
  
  Implement, but do not use, a power method called cardbus.  It looked
  like a great way to get around the 3.3V problem, but it seems that you
  can only use it to power cardbus cards (I get no CIS when I enable it,
  so maybe we're programming things bogusly).
  
  GC the intr and argp stuff from the slot database.
  
  Improve the ToPIC support with the power hacks that Nakagawa-san
  published in FreeBSD Press and that Hiroyuki Aizu-san ported to
  -stable.  The ToPIC hacks were for 3.3V support in ToPIC 100, but it
  looks like the '97 also has identical registers, so use them too.
  
  Add some #defines for the cardbus power stuff.
  
  Finally implement making CSC on the Ricoh chips ISA or PCI.  This will
  allow polling mode to work on vaios, I think.
  
  Add some minor debugging.  This should likely be cleaned up or put
  behing a bootverbose.
  
  Some of this work, and earlier work, was influanced by Chiharu
  Shibata-san's power handing patches posted to bsd-nomads:15866.
  
  MFC: Soon, if possible.
  
  Revision  Changes    Path
  1.164     +98 -22    src/sys/pccard/pcic.c
  1.21      +32 -1     src/sys/pccard/pcic_isa.c
  1.88      +461 -129  src/sys/pccard/pcic_pci.c
  1.30      +25 -3     src/sys/pccard/pcic_pci.h
  1.26      +23 -9     src/sys/pccard/pcicvar.h


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109040447.f844lwZ70721>