summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/sparc/conf/GENERIC5
-rw-r--r--sys/arch/sparc/conf/RAMDISK3
-rw-r--r--sys/arch/sparc/conf/SUN4C3
-rw-r--r--sys/arch/sparc/conf/SUN4M5
-rw-r--r--sys/arch/sparc/conf/files.sparc7
-rw-r--r--sys/arch/sparc/dev/hme.c5
6 files changed, 23 insertions, 5 deletions
diff --git a/sys/arch/sparc/conf/GENERIC b/sys/arch/sparc/conf/GENERIC
index ad90cb9a327..e8220ccfe32 100644
--- a/sys/arch/sparc/conf/GENERIC
+++ b/sys/arch/sparc/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.29 1998/07/04 01:27:52 deraadt Exp $
+# $OpenBSD: GENERIC,v 1.30 1998/07/10 19:20:04 jason Exp $
# $NetBSD: GENERIC,v 1.48 1997/08/23 19:19:01 mjacob Exp $
# Machine architecture; required by config(8)
@@ -158,6 +158,9 @@ ie2 at vmes0 addr 0xff31ff02 level 5 vect 0x76
ie3 at vmes0 addr 0xff35ff02 level 5 vect 0x77
ie4 at vmes0 addr 0xff2dff02 level 5 vect 0x7c
+# HappyMeal ethernet
+hme* at sbus? slot ? offset ?
+
# Xylogics 753 or 7053 VME SMD disk controllers and disks, found
# on sun4 systems.
xdc0 at vmel0 addr 0xffffee80 level 3 vect 0x44
diff --git a/sys/arch/sparc/conf/RAMDISK b/sys/arch/sparc/conf/RAMDISK
index f761e539191..72581e2975c 100644
--- a/sys/arch/sparc/conf/RAMDISK
+++ b/sys/arch/sparc/conf/RAMDISK
@@ -159,6 +159,9 @@ le0 at obio0 addr 0xf9000000 level 6 # sun4/300
ie0 at obio0 addr 0xf6000000 level 6 # sun4/200 on-board
ie0 at obio0 addr 0x06000000 level 6 # sun4/100 on-board
+# HappyMeal ethernet
+hme* at sbus? slot ? offset ?
+
ie1 at vmes0 addr 0xffe88000 level 5 vect 0x75
ie2 at vmes0 addr 0xff31ff02 level 5 vect 0x76
ie3 at vmes0 addr 0xff35ff02 level 5 vect 0x77
diff --git a/sys/arch/sparc/conf/SUN4C b/sys/arch/sparc/conf/SUN4C
index b37d44a5de4..c39c33d9fd1 100644
--- a/sys/arch/sparc/conf/SUN4C
+++ b/sys/arch/sparc/conf/SUN4C
@@ -106,6 +106,9 @@ le0 at sbus? slot ? offset ?
le* at sbus? slot ? offset ?
#le0 at obio0 addr 0xf9000000 level 6
+# HappyMeal ethernet
+hme* at sbus? slot ? offset ?
+
#ie0 at obio0 addr 0xf6000000 level 6
#ie0 at obio0 addr 0x06000000 level 6 # 4/100
#ie1 at vmes0 addr 0xffe88000 level 5 vect 0x75
diff --git a/sys/arch/sparc/conf/SUN4M b/sys/arch/sparc/conf/SUN4M
index 3a6b60912f8..53a8cc08ceb 100644
--- a/sys/arch/sparc/conf/SUN4M
+++ b/sys/arch/sparc/conf/SUN4M
@@ -1,4 +1,4 @@
-# $OpenBSD: SUN4M,v 1.21 1998/04/30 06:12:58 jason Exp $
+# $OpenBSD: SUN4M,v 1.22 1998/07/10 19:20:09 jason Exp $
# $NetBSD: GENERIC,v 1.28.2.1 1996/07/02 23:55:22 jtc Exp $
# Machine architecture; required by config(8)
@@ -87,6 +87,9 @@ lebuffer* at sbus? slot ? offset ? # sun4m SBus
le0 at lebuffer0 #
le* at lebuffer? #
+# HappyMeal ethernet
+hme* at sbus? slot ? offset ?
+
# Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
# systems. If your sun4 system has a cgfour installed in the P4 slot,
# the P4 entries for "bwtwo" will attach to the overlay plane of the
diff --git a/sys/arch/sparc/conf/files.sparc b/sys/arch/sparc/conf/files.sparc
index 4ba70b0b382..e4d6926eeb8 100644
--- a/sys/arch/sparc/conf/files.sparc
+++ b/sys/arch/sparc/conf/files.sparc
@@ -1,4 +1,4 @@
-# $OpenBSD: files.sparc,v 1.17 1998/07/04 01:27:53 deraadt Exp $
+# $OpenBSD: files.sparc,v 1.18 1998/07/10 19:20:11 jason Exp $
# $NetBSD: files.sparc,v 1.44 1997/08/31 21:29:16 pk Exp $
# @(#)files.sparc 8.1 (Berkeley) 7/19/93
@@ -122,6 +122,11 @@ attach audioamd at mainbus, obio, sbus
file arch/sparc/dev/amd7930.c audio
file arch/sparc/sparc/amd7930intr.s audio
+# HappyMeal (hme) ethernet
+device hme
+attach hme at sbus
+file arch/sparc/dev/hme.c hme
+
# Brooktree DAC attribute
define bt_dac
diff --git a/sys/arch/sparc/dev/hme.c b/sys/arch/sparc/dev/hme.c
index 9df40e65026..76b5fdc0a90 100644
--- a/sys/arch/sparc/dev/hme.c
+++ b/sys/arch/sparc/dev/hme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hme.c,v 1.1 1998/07/10 19:09:08 jason Exp $ */
+/* $OpenBSD: hme.c,v 1.2 1998/07/10 19:20:13 jason Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -33,7 +33,8 @@
/*
* Driver for the Happy Meal (hme) ethernet boards
- * Based on the driver from S/Linux by David Miller
+ * Based on information gleaned from reading the
+ * S/Linux driver by David Miller
*/
#include <sys/param.h>