Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2005 20:21:29 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/my if_my.c
Message-ID:  <200508102021.j7AKLT6X058770@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2005-08-10 20:21:29 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/my           if_my.c 
  Log:
  - Remove pre-new-bus code under #if 0 and some other rotted code under
    #if 0.
  - Use pci_enable_busmaster() to enable busmastering instead of frobbing
    the command register directly.
  - Don't check to see if memory or I/O can be enabled by writing to the
    command register.  The PCI bus driver's bus_alloc_resource() method
    already checks this and will fail if it can't enable the bit.
  
  Revision  Changes    Path
  1.33      +2 -55     src/sys/dev/my/if_my.c



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