Date: Thu, 28 Dec 2017 14:14:36 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r327287 - head/sys/i386/isa Message-ID: <201712281414.vBSEEasG043373@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Thu Dec 28 14:14:35 2017 New Revision: 327287 URL: https://svnweb.freebsd.org/changeset/base/327287 Log: sys/i386/isa/elink*: sync with (older) NetBSD. Make it easier to identify the point where we started diverging from NetBSD. Newer versions of these files have been updated to a new license so this information may become useful some day. Obtained from: NetBSD Modified: head/sys/i386/isa/elink.c head/sys/i386/isa/elink.h Modified: head/sys/i386/isa/elink.c ============================================================================== --- head/sys/i386/isa/elink.c Thu Dec 28 13:23:13 2017 (r327286) +++ head/sys/i386/isa/elink.c Thu Dec 28 14:14:35 2017 (r327287) @@ -1,7 +1,9 @@ +/* $NetBSD: elink.c,v 1.6 1995/01/07 21:37:54 mycroft Exp $ */ + /*- * SPDX-License-Identifier: BSD-4-Clause * - * Copyright (c) 1994 Charles Hannum. All rights reserved. + * Copyright (c) 1994, 1995 Charles Hannum. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -46,9 +48,9 @@ __FBSDID("$FreeBSD$"); #include <i386/isa/elink.h> /* - * Issue a `global reset' to all cards. We have to be careful to do this only - * once during autoconfig, to prevent resetting boards that have already been - * configured. + * Issue a `global reset' to all cards, and reset the ID state machines. We + * have to be careful to do the global reset only once during autoconfig, to + * prevent resetting boards that have already been configured. */ void elink_reset() @@ -59,8 +61,8 @@ elink_reset() x = 1; outb(ELINK_ID_PORT, ELINK_RESET); } - outb(ELINK_ID_PORT, 0); - outb(ELINK_ID_PORT, 0); + outb(ELINK_ID_PORT, 0x00); + outb(ELINK_ID_PORT, 0x00); return; } Modified: head/sys/i386/isa/elink.h ============================================================================== --- head/sys/i386/isa/elink.h Thu Dec 28 13:23:13 2017 (r327286) +++ head/sys/i386/isa/elink.h Thu Dec 28 14:14:35 2017 (r327287) @@ -1,3 +1,5 @@ +/* $NetBSD: elink.h,v 1.3 1994/10/27 04:17:11 cgd Exp $ */ + /*- * SPDX-License-Identifier: BSD-4-Clause *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712281414.vBSEEasG043373>