Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2001 13:26:31 -0800 (PST)
From:      wpaul@FreeBSD.ORG (Bill Paul)
To:        fjoe@FreeBSD.org (Max Khon)
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/conf files files.i386 src/sys/dev/sbni         if_sbni.c if_sbni_isa.c if_sbni_pci.c if_sbnireg.h if_sbnivar
Message-ID:  <20011219212631.0E44337B405@hub.freebsd.org>
In-Reply-To: <200112192059.fBJKxTq77044@freefall.freebsd.org> from Max Khon at "Dec 19, 2001 12:59:29 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> fjoe        2001/12/19 12:59:29 PST
> 
>   Modified files:        (Branch: RELENG_4)
>     sys/conf             files files.i386 
>     sys/i386/conf        LINT 
>     sys/i386/i386        userconfig.c 
>     sys/modules          Makefile 
>   Added files:           (Branch: RELENG_4)
>     sys/dev/sbni         if_sbni.c if_sbni_isa.c if_sbni_pci.c 
>                          if_sbnireg.h if_sbnivar.h 
>     sys/modules/sbni     Makefile 
>   Log:
>   MFC: driver for Granch SBNI12-xx ISA/PCI network adapters
>   

This driver really should be using bus_space_read_X() and
bus_space_write_X() instead of inb(), outb() and friends.
If you do this (and avoid the i386 assembler CRC routine),
you can make this code portable to the alpha.

-Bill

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?20011219212631.0E44337B405>