aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2009-12-23 12:33:59 +0000
committerRobert Watson <rwatson@FreeBSD.org>2009-12-23 12:33:59 +0000
commit912f6323cd8e0ddeeff072b4843472136449169d (patch)
treec50c4a7cbf22835f74c1460a1550f2734cab6795 /sys
parent0a32e29f59cd3d671f45aec91f7fc6f6f2986670 (diff)
downloadsrc-912f6323cd8e0ddeeff072b4843472136449169d.tar.gz
src-912f6323cd8e0ddeeff072b4843472136449169d.zip
When warning about possible netisr configuration problems during boot,
report using "netisr_init" rather than "netisr2", which was the development name for the project. MFC after: 3 days
Notes
Notes: svn path=/head/; revision=200899
Diffstat (limited to 'sys')
-rw-r--r--sys/net/netisr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/netisr.c b/sys/net/netisr.c
index b03c9e7398b5..c63c627cd635 100644
--- a/sys/net/netisr.c
+++ b/sys/net/netisr.c
@@ -1076,12 +1076,12 @@ netisr_init(void *arg)
if (netisr_maxthreads < 1)
netisr_maxthreads = 1;
if (netisr_maxthreads > mp_ncpus) {
- printf("netisr2: forcing maxthreads from %d to %d\n",
+ printf("netisr_init: forcing maxthreads from %d to %d\n",
netisr_maxthreads, mp_ncpus);
netisr_maxthreads = mp_ncpus;
}
if (netisr_defaultqlimit > netisr_maxqlimit) {
- printf("netisr2: forcing defaultqlimit from %d to %d\n",
+ printf("netisr_init: forcing defaultqlimit from %d to %d\n",
netisr_defaultqlimit, netisr_maxqlimit);
netisr_defaultqlimit = netisr_maxqlimit;
}
@@ -1092,8 +1092,8 @@ netisr_init(void *arg)
* polling disables parallel netisr workers.
*/
if (netisr_maxthreads != 1 || netisr_bindthreads != 0) {
- printf("netisr2: forcing maxthreads to 1 and bindthreads to "
- "0 for device polling\n");
+ printf("netisr_init: forcing maxthreads to 1 and "
+ "bindthreads to 0 for device polling\n");
netisr_maxthreads = 1;
netisr_bindthreads = 0;
}