Replaced nxmmap by nommap (if the mmap function gets called, then the

device must be configured).
This commit is contained in:
Bruce Evans 1995-12-10 20:34:53 +00:00
parent f54d2260b4
commit 26ec204be0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12742
7 changed files with 14 additions and 14 deletions

View File

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: cy.c,v 1.25 1995/12/08 23:20:24 phk Exp $
* $Id: cy.c,v 1.26 1995/12/10 15:54:42 bde Exp $
*/
#include "cy.h"
@ -374,7 +374,7 @@ static d_devtotty_t cydevtotty;
static struct cdevsw cy_cdevsw =
{ cyopen, cyclose, cyread, cywrite, /*48*/
cyioctl, cystop, nxreset, cydevtotty,/*cyclades*/
ttselect, nxmmap, NULL, "cy", NULL, -1 };
ttselect, nommap, NULL, "cy", NULL, -1 };
struct isa_driver siodriver = {

View File

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: cy.c,v 1.25 1995/12/08 23:20:24 phk Exp $
* $Id: cy.c,v 1.26 1995/12/10 15:54:42 bde Exp $
*/
#include "cy.h"
@ -374,7 +374,7 @@ static d_devtotty_t cydevtotty;
static struct cdevsw cy_cdevsw =
{ cyopen, cyclose, cyread, cywrite, /*48*/
cyioctl, cystop, nxreset, cydevtotty,/*cyclades*/
ttselect, nxmmap, NULL, "cy", NULL, -1 };
ttselect, nommap, NULL, "cy", NULL, -1 };
struct isa_driver siodriver = {

View File

@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
* $Id: si.c,v 1.25 1995/12/10 13:39:12 phk Exp $
* $Id: si.c,v 1.26 1995/12/10 15:54:47 bde Exp $
*/
#ifndef lint
@ -125,7 +125,7 @@ static d_devtotty_t sidevtotty;
static struct cdevsw si_cdevsw =
{ siopen, siclose, siread, siwrite, /*68*/
siioctl, sistop, nxreset, sidevtotty,/* si */
ttselect, nxmmap, NULL, "si", NULL, -1 };
ttselect, nommap, NULL, "si", NULL, -1 };
#ifdef SI_DEBUG /* use: ``options "SI_DEBUG"'' in your config file */

View File

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: cy.c,v 1.25 1995/12/08 23:20:24 phk Exp $
* $Id: cy.c,v 1.26 1995/12/10 15:54:42 bde Exp $
*/
#include "cy.h"
@ -374,7 +374,7 @@ static d_devtotty_t cydevtotty;
static struct cdevsw cy_cdevsw =
{ cyopen, cyclose, cyread, cywrite, /*48*/
cyioctl, cystop, nxreset, cydevtotty,/*cyclades*/
ttselect, nxmmap, NULL, "cy", NULL, -1 };
ttselect, nommap, NULL, "cy", NULL, -1 };
struct isa_driver siodriver = {

View File

@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
* $Id: si.c,v 1.25 1995/12/10 13:39:12 phk Exp $
* $Id: si.c,v 1.26 1995/12/10 15:54:47 bde Exp $
*/
#ifndef lint
@ -125,7 +125,7 @@ static d_devtotty_t sidevtotty;
static struct cdevsw si_cdevsw =
{ siopen, siclose, siread, siwrite, /*68*/
siioctl, sistop, nxreset, sidevtotty,/* si */
ttselect, nxmmap, NULL, "si", NULL, -1 };
ttselect, nommap, NULL, "si", NULL, -1 };
#ifdef SI_DEBUG /* use: ``options "SI_DEBUG"'' in your config file */

View File

@ -49,7 +49,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*End copyright
* $Id: ssc.c,v 1.8 1995/12/08 11:18:55 julian Exp $
* $Id: ssc.c,v 1.9 1995/12/08 23:22:26 phk Exp $
*/
#include <sys/types.h>
@ -78,7 +78,7 @@ extern d_ioctl_t suioctl;
static struct cdevsw ssc_cdevsw =
{ sscopen, sscclose, noread, nowrite, /*49*/
sscioctl, nostop, nullreset, nodevtotty,
noselect, nxmmap, nostrategy, "ssc", NULL, -1 };
noselect, nommap, nostrategy, "ssc", NULL, -1 };
static dev_t sscdev = NODEV;

View File

@ -44,7 +44,7 @@
* SUCH DAMAGE.
*End copyright
*
* $Id: su.c,v 1.10 1995/12/08 23:22:29 phk Exp $
* $Id: su.c,v 1.11 1995/12/10 14:57:04 bde Exp $
*
* Tabstops 4
* XXX devfs entries for this device should be handled by generic scsiconfig
@ -78,7 +78,7 @@ static d_strategy_t sustrategy;
static struct cdevsw su_cdevsw =
{ suopen, suclose, suread, suwrite, /*18*/
suioctl, nostop, nullreset, nodevtotty,/* scsi */
suselect, nxmmap, sustrategy, "su", NULL, -1 };
suselect, nommap, sustrategy, "su", NULL, -1 };
/* Build an old style device number (unit encoded in the minor number)