diff options
author | wpaul <wpaul@FreeBSD.org> | 2004-01-03 02:25:21 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2004-01-03 02:25:21 +0000 |
commit | a43e13682e205a5b9215890c7fd108fc0233c385 (patch) | |
tree | 9995657be93524c047e67520a27eb69f59507ffe /usr.sbin/ndiscvt | |
parent | 03e299bc7355b8ba7ab265e4ee76a6453bf66647 (diff) | |
download | FreeBSD-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.c | 2 |
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. */ |