summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ndiscvt
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2004-01-03 02:25:21 +0000
committerwpaul <wpaul@FreeBSD.org>2004-01-03 02:25:21 +0000
commita43e13682e205a5b9215890c7fd108fc0233c385 (patch)
tree9995657be93524c047e67520a27eb69f59507ffe /usr.sbin/ndiscvt
parent03e299bc7355b8ba7ab265e4ee76a6453bf66647 (diff)
downloadFreeBSD-src-a43e13682e205a5b9215890c7fd108fc0233c385.zip
FreeBSD-src-a43e13682e205a5b9215890c7fd108fc0233c385.tar.gz
Tweak ndiscvt to support yet another flavor of .INF files (look for
the NTx86 section decoration). subr_ndis.c: correct the behavior of ndis_query_resources(): if the caller doesn't provide enough space to return the resources, tell it how much it needs to provide and return an error. subr_hal.c & subr_ntoskrnl.c: implement/stub a bunch of new routines; ntoskrnl: KefAcquireSpinLockAtDpcLevel KefReleaseSpinLockFromDpcLevel MmMapLockedPages InterlockedDecrement InterlockedIncrement IoFreeMdl KeInitializeSpinLock HAL: KfReleaseSpinLock KeGetCurrentIrql KfAcquireSpinLock Lastly, correct spelling of "_aullshr" in the ntoskrnl functable.
Diffstat (limited to 'usr.sbin/ndiscvt')
-rw-r--r--usr.sbin/ndiscvt/inf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ndiscvt/inf.c b/usr.sbin/ndiscvt/inf.c
index d38b17b..0b2ee20 100644
--- a/usr.sbin/ndiscvt/inf.c
+++ b/usr.sbin/ndiscvt/inf.c
@@ -191,6 +191,7 @@ dump_deviceids()
/* Find manufacturer section */
if (manf->vals[1] != NULL &&
(strcasecmp(manf->vals[1], "NT.5.1") == 0 ||
+ strcasecmp(manf->vals[1], "NTx86") == 0 ||
strcasecmp(manf->vals[1], "NTx86.5.1") == 0)) {
/* Handle Windows XP INF files. */
snprintf(xpsec, sizeof(xpsec), "%s.%s",
@@ -411,6 +412,7 @@ dump_regvals(void)
/* Find manufacturer section */
if (manf->vals[1] != NULL &&
(strcasecmp(manf->vals[1], "NT.5.1") == 0 ||
+ strcasecmp(manf->vals[1], "NTx86") == 0 ||
strcasecmp(manf->vals[1], "NTx86.5.1") == 0)) {
is_winxp++;
/* Handle Windows XP INF files. */
OpenPOWER on IntegriCloud