Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2001 20:22:53 -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 pcicvar.h
Message-ID:  <200105210322.f4L3Mrx22374@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2001/05/20 20:22:53 PDT

  Modified files:
    sys/pccard           pcic.c pcic_isa.c pcicvar.h 
  Log:
  Next step towards pcic_pci: the ability to allocate mapped memory in attach.
  
  o Introduce flags word to the softc.  This will be used to control various
    aspects of the driver.  Right now there are two bits defined, PCIC_IO_MAPPED
    and PCIC_MEM_MAPPED.  One for ISA cards that are I/O mapped, the other is
    for PCI cards that are memory mapped.  Only the ISA side is implemented
    with this commit.
  o Introduce a pcic_dealloc which will cleanly dealloc resources used.  Right
    now it is only supported when called from probe/attach.
  o Keep track of resources allocated in the pcic_softc.
  o move pcictimeout_ch to the softc so we can support multiple devices
    in polling mode.
  o In ISA probe, set PCIC_IO_MAPPED.
  o Introduce and compute the slot mask.  This will be used later when
    we expand the number of slots on ISA from 2 to 4.  In such a case, we
    appear to have to use polling mode otherwise we get two different cards
    trying to drive the same interrupt line.  I don't have hardware to
    test this configuration, so I'll stop here.
  
  Revision  Changes    Path
  1.129     +57 -12    src/sys/pccard/pcic.c
  1.3       +5 -1      src/sys/pccard/pcic_isa.c
  1.4       +13 -1     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?200105210322.f4L3Mrx22374>