Cosmetic (wrt. the screen display) change: when re-enabling a device,

make sure it won't go into the PCI section.  Disabling and re-enabling
ed0 made it to the wrong section.

Submitted by:	msmith
This commit is contained in:
Joerg Wunsch 1996-12-23 12:33:08 +00:00
parent 1c57564d21
commit b38d58142b
1 changed files with 4 additions and 2 deletions

View File

@ -46,7 +46,7 @@
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**
** $Id: userconfig.c,v 1.77 1996/12/17 06:59:01 msmith Exp $
** $Id: userconfig.c,v 1.78 1996/12/18 01:37:22 se Exp $
**/
/**
@ -542,6 +542,8 @@ findspot(DEV_LIST *dev, DEV_LIST *list)
{
if (ap->comment != DEV_DEVICE) /* ignore comments */
continue;
if (ap->iobase == -2) /* don't group with a PCI device */
continue;
if (!strcmp(dev->dev,ap->dev)) /* same base device */
{
if ((dev->unit <= ap->unit) /* belongs before (equal is bad) */
@ -2221,7 +2223,7 @@ visuserconfig(void)
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: userconfig.c,v 1.77 1996/12/17 06:59:01 msmith Exp $
* $Id: userconfig.c,v 1.78 1996/12/18 01:37:22 se Exp $
*/
#include "scbus.h"