Date: Wed, 4 Jun 2008 20:23:25 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 142909 for review Message-ID: <200806042023.m54KNPnG041621@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=142909 Change 142909 by piso@piso_newluxor on 2008/06/04 20:22:27 Revert back to HEAD version. Affected files ... .. //depot/projects/soc2005/libalias/sys/compat/ndis/subr_ntoskrnl.c#7 edit Differences ... ==== //depot/projects/soc2005/libalias/sys/compat/ndis/subr_ntoskrnl.c#7 (text+ko) ==== @@ -3261,34 +3261,6 @@ return(STATUS_SUCCESS); } -static ndis_status -IoGetDeviceObjectPointer(name, desiredaccess, fileobj, devobj) - unicode_string *name; - uint32_t desiredaccess; - void *fileobj; - device_object *devobj; -{ - devobj = NULL; - fileobj = NULL; - mtx_lock(&ntoskrnl_dispatchlock); - /* - nt_list_for_each_entry(coh, &object_list, list) { - TRACE5("header: %p, type: %d", coh, coh->type); - if (coh->type != OBJECT_TYPE_DEVICE) - continue; - if (!RtlCompareUnicodeString(&coh->name, name, TRUE)) { - dev_obj = HEADER_TO_OBJECT(coh); - TRACE5("dev_obj: %p", dev_obj); - break; - } - } */ - mtx_unlock(&ntoskrnl_dispatchlock); - if (devobj) - return(STATUS_SUCCESS); - else - return(STATUS_OBJECT_NAME_INVALID); -} - static void KeInitializeMutex(kmutex, level) kmutant *kmutex;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806042023.m54KNPnG041621>