1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Make bt driver work on eisa again.

Submitted by: Matthew N. Dodd <winter@jurai.net>
This commit is contained in:
Doug Rabson 1999-04-20 09:53:05 +00:00
parent 14349c1d6f
commit c2974efdbe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45859
2 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: bt_eisa.c,v 1.3 1999/03/23 07:27:38 gibbs Exp $
* $Id: bt_eisa.c,v 1.4 1999/04/18 15:50:33 peter Exp $
*/
#include "eisa.h"
@ -118,7 +118,7 @@ bt_eisa_alloc_resources(device_t dev)
* XXX assumes that the iospace ranges are sorted in increasing
* order.
*/
rid = 1;
rid = 0;
port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid,
0, ~0, 1, RF_ACTIVE);
if (!port)

View File

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: bt_eisa.c,v 1.3 1999/03/23 07:27:38 gibbs Exp $
* $Id: bt_eisa.c,v 1.4 1999/04/18 15:50:33 peter Exp $
*/
#include "eisa.h"
@ -118,7 +118,7 @@ bt_eisa_alloc_resources(device_t dev)
* XXX assumes that the iospace ranges are sorted in increasing
* order.
*/
rid = 1;
rid = 0;
port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid,
0, ~0, 1, RF_ACTIVE);
if (!port)