From owner-freebsd-bugs@FreeBSD.ORG Sun Jun 5 09:20:02 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 733BB16A41C for ; Sun, 5 Jun 2005 09:20:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F8DD43D49 for ; Sun, 5 Jun 2005 09:20:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j559K1gD041264 for ; Sun, 5 Jun 2005 09:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j559K1Ks041263; Sun, 5 Jun 2005 09:20:01 GMT (envelope-from gnats) Resent-Date: Sun, 5 Jun 2005 09:20:01 GMT Resent-Message-Id: <200506050920.j559K1Ks041263@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Norikatsu Shigemura Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1BBC16A41C; Sun, 5 Jun 2005 09:12:38 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5129843D48; Sun, 5 Jun 2005 09:12:38 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.3/8.13.1/NinthNine) with SMTP id j559CaiJ063955; Sun, 5 Jun 2005 18:12:36 +0900 (JST) (envelope-from nork@FreeBSD.org) Message-Id: <200506050912.j559CaiJ063955@sakura.ninth-nine.com> Date: Sun, 5 Jun 2005 18:12:36 +0900 (JST) From: Norikatsu Shigemura To: FreeBSD-gnats-submit@FreeBSD.org Cc: takawata@FreeBSD.org Subject: kern/81912: Add support kernel modulable to ichsmb(4). X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2005 09:20:02 -0000 >Number: 81912 >Category: kern >Synopsis: Add support kernel modulable to ichsmb(4). >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jun 05 09:20:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Norikatsu Shigemura >Release: FreeBSD 6.0-CURRENT i386 >Organization: Ensure Technorogy LTD,. >Environment: System: FreeBSD nadesico.ninth-nine.com 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Sat Jun 4 10:38:29 JST 2005 nork@nadesico.ninth-nine.com:/usr/obj/usr/src/sys/NADESICO i386 >Description: ichsmb(4) didn't support kldload. >How-To-Repeat: 'kldload ichsmb.ko' is not work. >Fix: Apply following patch. MFp4: @78015 (http://perforce.freebsd.org/chv.cgi?CH=78015) change files: src/sys/dev/ichsmb/ichsmb_pci.c src/sys/modules/i2c/controllers/Makefile new files: src/sys/modules/i2c/controllers/ichsmb/Makefile remove files: none --- nork_MOBILE.diff_to_current begins here --- ============================================= (cd /usr/src && patch -p6) < nork_MOBILE.diff_to_current ============================================= --- //depot/vendor/freebsd/src/sys/dev/ichsmb/ichsmb_pci.c 2005/03/05 18:20:40 +++ //depot/user/nork/nork_MOBILE/sys/dev/ichsmb/ichsmb_pci.c 2005/06/05 08:33:20 @@ -115,6 +115,10 @@ DRIVER_MODULE(ichsmb, pci, ichsmb_pci_driver, ichsmb_pci_devclass, 0, 0); +MODULE_DEPEND(ichsmb, pci, 1, 1, 1); +MODULE_DEPEND(ichsmb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER); +MODULE_VERSION(ichsmb, 1); + static int ichsmb_pci_probe(device_t dev) { --- //depot/vendor/freebsd/src/sys/modules/i2c/controllers/Makefile 2003/06/15 04:25:22 +++ //depot/user/nork/nork_MOBILE/sys/modules/i2c/controllers/Makefile 2005/06/05 08:33:20 @@ -3,7 +3,7 @@ .if ${MACHINE} == "pc98" SUBDIR = lpbb .else -SUBDIR = alpm amdpm intpm viapm lpbb pcf +SUBDIR = alpm amdpm ichsmb intpm viapm lpbb pcf .endif .include --- //depot/vendor/freebsd/src/sys/modules/i2c/controllers/ichsmb/Makefile 1970/01/01 09:00:00 +++ //depot/user/nork/nork_MOBILE/sys/modules/i2c/controllers/ichsmb/Makefile 2005/06/05 08:33:20 @@ -0,0 +8 +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/ichsmb +KMOD = ichsmb +SRCS = device_if.h bus_if.h iicbb_if.h pci_if.h smbus_if.h \ + ichsmb.c ichsmb_pci.c ichsmb_reg.h ichsmb_var.h + +.include --- nork_MOBILE.diff_to_current ends here --- >Release-Note: >Audit-Trail: >Unformatted: