augustss
95ba7bf87a
Add Hosiden ParaParaParadise. From kern/30554.
2005-06-19 10:25:36 +00:00
kent
ca51d2ecb9
partial support for mixer.
...
Still we have no ways to specify DACs or ADCs.
2005-06-19 07:42:39 +00:00
enami
0c35ace672
Actually, usbd_trim_spaces was not writing to const memory, so revert
...
unnecessary changes. Instead, make the caller code easier to read.
After all, it is enough to suppress warning due to constfy.
2005-06-19 04:01:36 +00:00
thorpej
6d92e51b72
- Do away with the old _SPLRAISE() template macro. Instead, provide an
...
splraise() inline function, and define the various spl routines in terms
of splraise().
- Use ANSI function decls.
2005-06-19 01:54:51 +00:00
thorpej
c5e282784a
Fix some whitespace.
2005-06-19 01:16:01 +00:00
chs
d4b8dc7f15
uncomment hme, add more missing NICs.
2005-06-19 00:23:43 +00:00
martin
40860f4eb5
Do not use -Wreturn-type with gcc 2.95.x
2005-06-18 22:56:02 +00:00
jdc
e5ec393002
Add UK keyboard map.
2005-06-18 20:35:36 +00:00
chs
e34855484a
add missing NICs, uncomment firewire stuff.
2005-06-18 17:34:54 +00:00
chs
0f0104b6a9
alphabetize.
2005-06-18 17:34:18 +00:00
chs
4dd0fe2ab5
add txp. uncomment the firewire stuff.
2005-06-18 16:12:19 +00:00
chs
fc00645356
adapt to const/volatile changes.
2005-06-18 16:10:44 +00:00
kent
77ab74c241
correct some position names.
2005-06-18 11:22:12 +00:00
kent
e8e1a2ca9a
An audio driver for High Definition Audio.
...
The driver is highly experimental at this moment:
- limieted support for playback
- support for no mixer controls
- support for no recording
2005-06-18 10:43:47 +00:00
kent
ab125bd85d
A driver for High Definition Audio.
...
The driver is highly experimental at this moment:
- limited support for playback
- no support for mixer controls
- no support for recording
2005-06-18 10:43:46 +00:00
thorpej
9616fa6458
Fix some locking issues:
...
- Make the locking rules for pr_rmpage() sane, and don't modify fields
protected by the pool lock without actually holding it.
- Always defer freeing the pool page to the back-end allocator, to avoid
invoking the pool_allocator with the pool locked (which would violate
the pool_allocator -> pool locking order).
- Fix pool_reclaim() to not violate the pool_cache -> pool locking order
by using a trylock.
Reviewed by Chuq Silvers.
2005-06-18 01:34:03 +00:00
atatat
efb4270746
Comment in new cp_id implementation was wrong since I abandoned
...
rewriting it in favor of some testing and then never got back to it.
It's better now.
2005-06-17 23:53:21 +00:00
elad
97d75abb70
Oops. Don't allow file delete even if it's not monitored if we're in
...
lockdown mode (strict level 3).
2005-06-17 22:39:08 +00:00
elad
ad7b01f7d0
More veriexec changes:
...
- Better organize strict level. Now we have 4 levels:
- Level 0, learning mode: Warnings only about anything that might've
resulted in 'access denied' or similar in a higher strict level.
- Level 1, IDS mode:
- Deny access on fingerprint mismatch.
- Deny modification of veriexec tables.
- Level 2, IPS mode:
- All implications of strict level 1.
- Deny write access to monitored files.
- Prevent removal of monitored files.
- Enforce access type - 'direct', 'indirect', or 'file'.
- Level 3, lockdown mode:
- All implications of strict level 2.
- Prevent creation of new files.
- Deny access to non-monitored files.
- Update sysctl(3) man-page with above. (date bumped too :)
- Remove FINGERPRINT_INDIRECT from possible fp_status values; it's no
longer needed.
- Simplify veriexec_removechk() in light of new strict level policies.
- Eliminate use of 'securelevel'; veriexec now behaves according to
its strict level only.
2005-06-17 17:46:18 +00:00
hannken
e018f80e47
Avoid shadow warnings, const and __UNVOLATILE().
...
Kernel sparc/GENERIC.MP builds again.
2005-06-17 09:13:56 +00:00
jmc
016a928508
Shadowing and const fixes.
2005-06-16 22:45:46 +00:00
jmc
61f16670a4
Fixes for volatile problems
2005-06-16 22:43:36 +00:00
bouyer
cf4b00e2e4
Remove a (wdc == NULL) test. We know wdc is not NULL at this point.
2005-06-16 20:15:04 +00:00
bouyer
69baf4357d
Use pmatch() metacharacters to match both SATA and PATA versions of seagate
...
drives in the quirk table.
2005-06-16 20:03:35 +00:00
bouyer
5494975684
Add quirk for SIS 96x that masquerade as a SIS503. Based on patch sent by
...
Robert Fuller in kern/30431, information found in the linux kernel.
While here, add SIS 965 to the table (from FreeBSD).
2005-06-16 19:30:02 +00:00
jmc
971a01a036
Rename a shadowed variable
2005-06-16 17:04:53 +00:00
elad
a3c81f769c
Since NetBSD operates in securelevel -1 by default, don't rely on the
...
securelevel alone when checking if the veriexec tables can be modified;
also check if the strict level is above 0.
2005-06-16 15:45:48 +00:00
elad
27cb371b94
Don't allow unprivileged users to open the veriexec device.
...
While I'm here, explicit 'int' for 'veriexec_device_usage'.
2005-06-16 15:41:36 +00:00
christos
dfa8191fb3
Add a new sysctl 'cp_id' that returns the array of cpu id values. Requested by
...
me, implemented by atatat.
2005-06-16 14:55:58 +00:00
yamt
91fa31b5d2
uipc_usrreq: plug mbuf leak.
2005-06-16 14:36:42 +00:00
tsutsui
8e9e66997f
Rename iha_pci_probe() -> iha_pci_match() because we don't have to
...
probe PCI devices.
2005-06-16 14:32:09 +00:00
christos
47429afbb8
Return the beginning of the string, not the end.
2005-06-16 12:55:25 +00:00
bouyer
15ce68ccd1
Allow compiling a domain0 kernel with vga but without pckbc, and add
...
console support for USB keyboard. Problem pointed out by Karl Janmar on
port-xen.
2005-06-16 10:58:52 +00:00
martti
ec63076a4b
Added LBA48 quirk for Seagate ST3200822AS. Tested by Teemu Rinta-aho.
2005-06-16 05:47:17 +00:00
he
970b620d42
Adapt to changed signature of cpu_coredump32().
2005-06-16 05:38:43 +00:00
briggs
7f01fdeb84
Rename 'ncpus' to 'sparc_ncpus' to avoid shadow warnings in m.i. code.
...
Also sprinkle an __UNVOLATILE() for sparc.
n.b. sparc64 'cpus' should probably be renamed to 'cpu_info_list' to
match i386 et al.
2005-06-16 04:17:49 +00:00
seb
bc1b24046b
Add missing entries in cache information array for, at least,
...
Pentium M 770, 760, 750, 740 and 730.
Approved by mrg@
2005-06-16 00:04:25 +00:00
bouyer
6b930c6d27
Add support for x86 boot flags:
...
-s boot single user
-a ask root device
XXX -d is ifdef'd out for now, it cause early panic (no console message).
2005-06-15 22:08:08 +00:00
junyoung
ef7e076715
Cosmetic changes.
2005-06-15 19:07:36 +00:00
junyoung
d659374d57
ANSI, KNF, de-__P, and various cosmetic changes.
2005-06-15 19:01:19 +00:00
bouyer
ec4bb683de
Support Intel 82801FBM Serial ATA Controller. From Kurt Schreiner on tech-kern.
2005-06-15 18:01:12 +00:00
bouyer
3cfd2fc4d3
Regen: add Intel 82801FBM Serial ATA Controller.
2005-06-15 17:59:14 +00:00
bouyer
ded1e32c08
Add Intel 82801FBM Serial ATA Controller. From Kurt Schreiner on tech-kern@
2005-06-15 17:58:02 +00:00
elad
e62596b887
Set the veriexec table entry pointer to NULL in getnewvnode().
2005-06-15 16:59:27 +00:00
elad
5b2713d417
Fix sysctl handling for raise-only variables. This affected the veriexec
...
node entirely. Reported by Nino Dehne.
2005-06-15 16:58:31 +00:00
reinoud
c380d87cf0
Cosmetic change giving better feedback on what's going on. It would allways
...
tell the hardware reset timed out when it didn't. Also cleaned up code
comments.
2005-06-15 15:16:23 +00:00
tron
74088f139f
Remove commented out "upa" attachments because NetBSD doesn't have a
...
driver for that anyway. Approved by Martin Husemann.
2005-06-15 12:57:44 +00:00
cube
b5e65ac443
Match two candidates. From Francois Romieu in private mail.
2005-06-15 11:27:39 +00:00
junyoung
3bd71bdfb4
KNF & notably, use u_int rather than unsigned int for now for consistency.
...
This should be reversed eventually...
2005-06-15 08:03:07 +00:00
junyoung
0da67fb4ba
Initial commit of cdboot, a primary boot loader that loads a secondary
...
boot loader directly from CD without performing floppy/hard disk emulation
as described by the El Torito specification.
2005-06-15 06:38:45 +00:00
simonb
13f898cc84
Bump SYMTAB_SPACE.
2005-06-15 05:08:39 +00:00
christos
b329676140
print the actual device name in error message.
2005-06-15 01:52:39 +00:00
lukem
fd8956d5fa
Use an "XXXGCC -Wuninitalized" style that is consistent with that used
...
elsewhere in the tree.
2005-06-15 01:48:20 +00:00
christos
4e330f1fbc
We don't have sigcode if we are not in COMPAT_16.
2005-06-14 22:35:20 +00:00
elad
8863b29522
Sync reality with comments. This makes strict level 1 work as expected.
...
Reported by Nino Dehne.
2005-06-14 21:55:21 +00:00
jmc
6724401235
Cleanup XXGCC in a few places to make it easier to see.
2005-06-14 21:20:30 +00:00
tron
8ff1e4e407
Get rid off the ugly S_SIZE() macro which breaks the build now that
...
bcmp() is a macro, too.
2005-06-14 18:25:16 +00:00
dsl
ad5e78548c
Change to use installboot - now it is being built for hp300.
2005-06-14 17:29:09 +00:00
bouyer
a62b47cd1a
Regen: add SiS 965.
2005-06-14 14:45:15 +00:00
bouyer
5f436e258e
Add SIS 965 bridge. From FreeBSD.
2005-06-14 14:44:26 +00:00
jmc
c85fb0b719
add memcmp. Why doesn't this use the regular libsa pullover?
2005-06-14 01:07:36 +00:00
elad
ab99f231f8
Correctly handle the case of executing a 'FILE' entry.
2005-06-13 22:46:56 +00:00
jmc
803a5ae17e
Fix a ton of const/volatile issues shown with new warning flags
2005-06-13 21:34:16 +00:00
jmc
095fcda9c3
Fix some shadowing of variables
2005-06-13 21:33:15 +00:00
elad
1e323dd70c
Fix potential NULL pointer access.
2005-06-13 21:09:49 +00:00
elad
49d0a3504e
Cosmetic change..
2005-06-13 20:52:13 +00:00
jmc
b75aff9bfb
Fix volatile casts
2005-06-13 20:44:24 +00:00
jmc
43a300640c
Constify
2005-06-13 20:44:11 +00:00
jmc
96fe97a4ff
Fix a variable shadowing
2005-06-13 20:43:16 +00:00
jmc
1786cf4f46
Change signature of uvm_kmapent_map defintiion to __INLINE to match prototype
2005-06-13 20:39:14 +00:00
jmc
168d2d9f35
Rename a shadowed variable
2005-06-13 20:34:16 +00:00
jmc
c3073778d2
Fix unitialized warnings that only crop up on m68k. XXGCC taggedd
2005-06-13 20:33:53 +00:00
jmc
1e47a53b95
Constify return string
2005-06-13 20:32:58 +00:00
elad
cbb4bd85d4
Oops - forgot to remove it in previous commit. Checking the fingerprint
...
status is enough here.
2005-06-13 20:23:15 +00:00
elad
da15a5a10c
More veriexec refactoring.
...
- Use u_char for the fingerprint status.
- Add a pointer to the vnode's veriexec hash table entry in the vnode
struct. This saves a lookup and will also used by planned features.
- When removing a file from the tables, set the vnode fingerprint status
to NOENTRY.
- Add switch to do flag-specific handling in veriexec_verify(). At the
moment this prevents execution of FILE entries in strict level 2, but
it will also be used by planned features.
- Use memset() instead of bzero().
- Various cosmetic changes.
2005-06-13 20:17:54 +00:00
jandberg
dc6e239c32
Constify pointers to string constants.
2005-06-13 19:31:54 +00:00
cube
8a116ca5d3
Provide a header for UKBD_LAYOUT. It makes more sense, and it avoids
...
quoting issues during the build process.
Reported and checked by spz@.
2005-06-13 16:41:44 +00:00
tron
1981d397d6
Also use prom_getether() under NetBSD-sparc(64) if the MAC address
...
retrieved from the PROM starts with ff:ff:ff. The driver now works with
the onboard interface in the Tadpole SPARCle.
2005-06-13 16:37:38 +00:00
tron
7dc178dad7
Regen.
2005-06-13 15:28:04 +00:00
tron
7b43f61d58
Add support for the LinkSys PCMPC200 Cardbus ethernet card.
2005-06-13 15:27:41 +00:00
junyoung
f465530831
Remove bcmp(). Use memcmp() instead.
2005-06-13 12:11:07 +00:00
junyoung
0ddaa77ca6
Oops, missed a semicolon.
2005-06-13 12:06:36 +00:00
junyoung
9bf0710d63
ANSI, De-__P(), and some cosmetic changes including
...
bcmp -> memcmp, bzero -> memset, bcopy -> memcpy.
2005-06-13 12:03:01 +00:00
junyoung
5e872837fc
Cosmetic changes.
2005-06-13 11:34:11 +00:00
junyoung
c3fc1c3df5
- Remove support for gcc < 2.7.x. Nobody is using such an old version
...
these days.
- s/u_int/uint/
- De-__P()
2005-06-13 11:33:02 +00:00
junyoung
7afdc17e75
ANSI, KNF, kill trailing spaces, and cosmetic changes.
2005-06-13 11:27:40 +00:00
junyoung
5b29e9631f
ANSI, KNF, remove trailing spaces, and some other non-functional changes
2005-06-13 11:23:28 +00:00
junyoung
be35d82590
Remove trailing spaces.
2005-06-13 11:13:17 +00:00
nonaka
518d320d8e
Regen.
2005-06-13 07:43:52 +00:00
nonaka
a72ccc32e9
Add PCI ids for HITACHI SH7751{,R} PCI Controller
2005-06-13 07:43:34 +00:00
nonaka
a63cdc696c
Regen.
2005-06-13 07:32:38 +00:00
nonaka
7cf9e12bdb
Add PCI id for "ATI Mobility Radeon 9700".
2005-06-13 07:31:50 +00:00
he
df3cf43683
Change the signature of badaddr() and badbaddr() from taking a caddr_t
...
to taking a volatile void*. This gets rid of a number of casts to make
this compile under -Wcast-qual.
Add some volatiles and consts in other places to make this build under
-Wcast-qual.
Also rename a few variables to make this build under -Wshadow.
Also get rid of duplicated declarations of badaddr() and badbaddr()
in machdep.c, they're already there from <machine/cpu.h>.
2005-06-13 00:34:08 +00:00
he
a67c46ebd2
Add volatile to a cast to make this build with -Wcast-qual.
2005-06-13 00:28:45 +00:00
he
745531d189
Make this compile under -Wshadow by renaming an unused parameter.
2005-06-13 00:18:49 +00:00
he
6db088a2cd
Make this compile by adding __UNCONST() when calling config_found() or
...
similar functions with a text constant as the second argument.
2005-06-13 00:18:11 +00:00
he
5d997939d0
Make this build with -Wcast-qual and -Wshadow by adding one
...
__UNVOLATILE() and adding a number of volatile to variable declarations
and renaming a local variable.
2005-06-13 00:14:52 +00:00
he
88f0cd47de
Make this build with -Wcast-qual by adding a few consts.
2005-06-13 00:12:21 +00:00
he
bc766262e1
Add __UNVOLATILE() to an assignment with a cast before passing pointer
...
to a function.
2005-06-13 00:07:39 +00:00
he
a01d803d49
Change the last arg of ite_sendstr() to const char*, so that this builds
...
under -Wcast-qual. Also rename a local variable to build with -Wshadow.
2005-06-12 23:46:41 +00:00
he
496fa36b37
Sprinkle some consts to allow this to compile with -Wcast-qual.
2005-06-12 23:43:49 +00:00
he
da60411753
Change the `name' argument of dmac_alloc_channel to const char*, so that
...
a string constant can be used without generating a warning.
2005-06-12 23:42:54 +00:00
tls
4a43d21777
Revert the part of revision 1.228 that made HW_NO_TXPRELOAD the default:
...
it appears to break output on the Soekris net4501, which is a rather
popular platform.
This should fix PR kern/29612 -- if not, I will probably revert it again.
2005-06-12 21:10:47 +00:00
dyoung
a37289db57
Make disklabel(8) and fdisk(8) into "host tools " last step: build
...
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel,
${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to
the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/.
To avoid clashes with a build-host's header files, especially on
*BSD, the host-tools versions of fdisk and disklabel search for
#includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h,
and bootinfo.h in a new #includes namespace, nbinclude/. That is,
they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>,
<nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and
such. I have also updated the system headers to #include from
nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.
2005-06-12 19:46:15 +00:00
jandberg
6aa5da9726
Constify parameters of matchname() to please -Wcast-qual.
2005-06-12 16:31:42 +00:00
bouyer
48c16dfe5f
xen_shm_size isn't patchable because _xen_shm_vaddr2ma[] is static, so
...
remove comment saying it is. Pointed out by Jed Davis.
2005-06-12 14:59:48 +00:00
yamt
a61427049c
remove some unsafe sti insns before INTRFASTEXIT, which
...
can allow infinite recursion of the handler.
2005-06-12 05:32:45 +00:00
matt
6e3fbc1b25
Have to cast framep as a trapframe. XXX frampe should not be void *
2005-06-12 04:39:37 +00:00
matt
7728c19903
Reduce INSTALL_TINY by 1.3KB.
...
Support for a.out coredumps is now conditional on EXEC_AOUT, EXEC_COFF,
EXEC_ECOFF, or EXEC_MACHO, or LKM. Since coredump_netbsd is the only user
of cpu_coredump, make that conditional too. Lastly, add 'no options EXEC_AOUT'
so the EXEC_AOUT option in std.i386 can be overridden.
2005-06-12 00:24:32 +00:00
reinoud
273876cfba
Implement auixp AC-link reset
2005-06-12 00:02:18 +00:00
christos
51b633d452
Remove an extraneous TTY_UNLOCK. With a LOCKDEBUG kernel, sending FLUSHO
...
causes a locking assertion.
2005-06-11 22:42:24 +00:00
christos
137b9bc57b
30393/Miles Nordin: PF/ALTQ does not work on ppp(4) interfaces
...
This is because the mbuf chain created did not have a header.
2005-06-11 22:26:42 +00:00
matt
ea25c64213
Use coredump_elf32, not coredump_netbsd.
2005-06-11 20:06:46 +00:00
elad
6533bc4abd
Work according to veriexec strict level, not securelevel. Also, use the
...
veriexec_report() routine when possible; and when opening a file for writing,
only invalidate the fingerprint - not always the data will be changed.
2005-06-11 16:04:59 +00:00
darrenr
4e1ba8b46a
bin/29508 - fix "ipf -T" - kernel wasn't setting ipft_cookie and userland
...
was expecting it to be set, thus ignored it.
bin/29509 - because ipft_cookie wasn't reset to 0 before making the ioctl
call for each variable, only the first name to find was used, each successive
call just used the cookie.
CVn: ----------------------------------------------------------------------
2005-06-11 12:31:40 +00:00
darrenr
e5f523e30c
Using USE_SPL should be done after the last place it is defined.
2005-06-11 12:12:59 +00:00
darrenr
486aaa2c70
kern/30082 - fr_check() is missing SPL_NET() macros for non-mutex using
...
platforms, allowing it to be preempted and restarted in an inconsistent
state.
2005-06-11 11:25:28 +00:00
snj
e03ccec166
Fix typo in last. This compiles once again.
2005-06-11 08:54:35 +00:00
is
eb4cc6d724
Make sure buffer sizes are initialized correctly even when the pause state
...
is explicitly set. Without this, the machine would crash in the audio interupt when the driver
needs to divide by the block size (e.g., cs4281.c/cs4280.c).
Idea for the fix by yamt.
2005-06-11 08:14:19 +00:00
elad
9cafbe15bc
Use the defined VERIEXEC_DIRECT instead of the (incorrect) 0 magic number.
2005-06-10 23:32:16 +00:00
he
0f76827b9a
Remove the declaration of a now-unused local variable.
2005-06-10 22:34:05 +00:00
he
15f674bbfa
Modify the rtc_gettime() and rtc_settime() functions to take a volatile
...
argument to make this build with -Wcast-qual.
2005-06-10 22:25:42 +00:00
he
dd447992cc
Add initialization of xgmsec, the assignment to it apparently depends
...
on the value in one of the data structures passed as arguments.
2005-06-10 22:08:39 +00:00
dsl
d68ddde829
If we are builging a small kernel [1], don't inline all these functions.
...
Saves over 2k and lets i386 rescue_tiny build again.
[1] if MALLOC_NOINLINE is defined - not ideal but...
2005-06-10 22:00:52 +00:00
jmc
af862ab038
Constify, shadow resolution and some volatile casts
2005-06-10 16:41:38 +00:00
jmc
91e04b9035
Add a missing const
2005-06-10 15:42:55 +00:00
jmc
972e095c1e
Change tick->ticks to avoid shadowing
2005-06-10 15:42:41 +00:00
jmc
abacafe481
Change max -> max_polls to avoid shadowing.
2005-06-10 15:41:11 +00:00
itohy
8202086879
cc1: warnings being treated as errors
...
../../../../dev/pcmcia/if_wi_pcmcia.c: In function `wi_pcmcia_write_firm':
../../../../dev/pcmcia/if_wi_pcmcia.c:511: warning: cast discards qualifiers from pointer target type
../../../../dev/pcmcia/if_wi_pcmcia.c:512: warning: cast discards qualifiers from pointer target type
2005-06-10 14:08:06 +00:00
christos
f1171a425e
constify and unshadow.
2005-06-10 13:22:42 +00:00
tron
0423caa6e2
Include "sys/uio.h" instead of forward defining "uio_seg" which causes
...
a lint failure while building "libc".
2005-06-10 11:36:38 +00:00
bouyer
79824021ea
As ether_input() is always called at IPL_NET, there is no need to
...
protect the IF_* operations with splnet()/splx().
2005-06-10 11:11:38 +00:00
bouyer
5ce57a0010
call (ifp->if_input) at splnet(). ifp->if_input points to ether_input()
...
which doesn't raise the IPL itself in all cases.
Should also fix PR 29546 (the pkgsrc kernel module needs to be updated).
2005-06-10 10:28:17 +00:00
matt
cb2038dada
Welcome to 3.99.6
2005-06-10 05:11:16 +00:00
matt
e1245a3c46
Rework the coredump code to have no explicit knownledge of how coredump
...
i/o is done. Instead, pass an opaque cookie which is then passed to a
new routine, coredump_write, which does the actual i/o. This allows the
method of doing i/o to change without affecting any future MD code.
Also, make netbsd32_core.c [re]use core_netbsd.c (in a similar manner that
core_elf64.c uses core_elf32.c) and eliminate that code duplication.
cpu_coredump{,32} is now called twice, first with a NULL iocookie to fill
the core structure and a second to actually write md parts of the coredump.
All i/o is nolonger random access and is suitable for shipping over a stream.
2005-06-10 05:10:12 +00:00
dyoung
d485a761e3
Sprinkle __UNCONST() and rename variables to quiet uiet -Wcast-qual,
...
-Wshadow complaints.
2005-06-10 02:35:34 +00:00
rjs
a51d4c4377
Add const.
2005-06-09 22:01:06 +00:00
rjs
f34c276ab5
Pass NULL as second argument to config_rootfound.
2005-06-09 22:00:40 +00:00
rjs
00fe72facb
Add const.
2005-06-09 21:59:24 +00:00
jmc
a31f50b210
Fix call to config_rootfound to pass -Wcast-qual
2005-06-09 21:49:22 +00:00
he
2f5d3f6059
Adapt to compiling with -Wcast-qual by adding consts where appropriate.
2005-06-09 21:43:13 +00:00
he
253884a9c4
Rename local variable `cpu_intr' to `cpu_int' to avoid shadowing.
2005-06-09 21:42:33 +00:00
he
2c12fd1a47
Change the second argument of config_rootfound() from a string to NULL,
...
so that we compile with -Wcast-qual.
2005-06-09 21:41:52 +00:00
jmc
51ed2fd82d
Fixes for -Wcast-qual. Add some needed const around char *'s,
...
__UNVOLATILE in READ/WRITE_REG and convert the rtc functions to properaly
take a volatile timeval
2005-06-09 17:46:19 +00:00
he
9eabff5290
Appease -Wcast-qual by adding consts in appropriate places.
2005-06-09 16:02:19 +00:00
tsutsui
446f2d2cfa
Regen from GENERIC.in rev 1.36:
...
> - Rename options NEW_BUFQ_STRATEGY -> options BUFQ_READPRIO.
> (still commented out)
> - Add (also commented out) options BUFQ_PRIOCSCAN.
>
> Suggested by perry and soda on tech-kern.
> Please refer options(4) for details for these options.
2005-06-09 14:50:11 +00:00
tsutsui
4e54a2cc7c
- Rename options NEW_BUFQ_STRATEGY -> options BUFQ_READPRIO.
...
(still commented out)
- Add (also commented out) options BUFQ_PRIOCSCAN.
Suggested by perry and soda on tech-kern.
Please refer options(4) for details for these options.
2005-06-09 14:43:29 +00:00
he
d05c61ee69
Add consts to make this build with -Wcast-qual.
2005-06-09 13:49:15 +00:00
he
116fd4948d
Use NULL and not a string constant as the second argument to
...
config_rootfound().
2005-06-09 13:48:12 +00:00
he
d049b36b69
Add const to the prom_getenv() vector argument.
...
More function pointer prototypes can probably have const added, but
this gets us building for now.
2005-06-09 13:47:28 +00:00
he
78734c90bf
Prefix variables in a macro with an underscore to avoid shadowing problems.
2005-06-09 13:45:31 +00:00
tron
abba7e56c8
Enable RAIDframe support in the NetBSD-macppc installation media.
...
Based on patches submitted by Ian Spray in PR port-macppc/30465.
2005-06-09 13:29:57 +00:00
he
e06cf89e96
Rename local variable `tick' to `ticks' to make this build with -Wshadow.
2005-06-09 12:25:32 +00:00
he
3ee7e97fcc
Now that OF_read and OF_write have different signatures, we need to
...
cast one of them before assigning to a common function pointer.
Yes, this breaks strict type checking, but is needed to compile with
-Wcast-qual turned on.
2005-06-09 12:23:23 +00:00
he
7eaf447237
Adapt to compiling with -Wcast-qual by adding consts.
2005-06-09 11:24:04 +00:00
he
500225c986
Adapt to compiling with -Wcast-qual by passing NULL instead of a string
...
to config_rootfound().
2005-06-09 11:23:36 +00:00
he
cc17b14ba8
Adapt to compiling with -Wcast-qual and -Wshadow.
2005-06-09 09:24:45 +00:00
he
bdc36c4d9b
Adapt to compiling with -Wcast-qual by constifying vt220_putstring()'s
...
first argument. Also gets rid of unneccessary casts to (u_char*).
2005-06-09 09:23:39 +00:00
he
f1f4a50e8b
Adapt to compiling with -Wcast-qual by constifying a char* field.
2005-06-09 09:15:28 +00:00
he
54960c1bb7
Adapt to compiling with -Wcast-qual and -Wshadow by adding const in
...
appropriate places and renaming a few local variables.
2005-06-09 08:05:31 +00:00
skrll
00b45e0cff
When the PDC_TLB_INFO call fails default to an HPT size of PAGE_SIZE.
...
My 715/50 can now boot.
Clean patch from Chuck Silvers.
2005-06-09 07:18:17 +00:00
he
f9c7d41f97
Adapt to compiling with -Wcast-qual by adding a const.
2005-06-09 06:48:44 +00:00
he
0b11d7187e
Adapt to compiling with -Wcast-qual by setting the last argument to
...
config_rootfound() to NULL.
2005-06-09 06:48:16 +00:00
he
10d9cac89f
Adapt to compiling with -Wcast-qual by adding const to a function
...
parameter of db_mach_cpu().
2005-06-09 06:27:18 +00:00
atatat
420d91208b
Properly fix the constipated lossage wrt -Wcast-qual and the sysctl
...
code. I know it's not the prettiest code, but it seems to work rather
well in spite of itself.
2005-06-09 02:19:59 +00:00
he
ac898acfa7
Rename an inner variable shadowing the 'v' parameter to appease -Wshadow.
2005-06-08 22:38:16 +00:00
he
beb03e4d32
Add __UNVOLATILE() to a cast when calling memset() to appease -Wcast-qual.
2005-06-08 22:33:56 +00:00
rjs
e222d37a70
Add message definitions for SWIM and for ADB autopoll.
2005-06-08 22:16:44 +00:00
fair
3f11934dfb
Change the name of a shadowed variable in FW_DEBUG code to make this
...
compile again.
2005-06-08 18:33:15 +00:00
he
5f0e107e63
Adapt to compiling with -Wcast-qual by adding const to some pointer casts.
2005-06-08 13:54:38 +00:00
he
6e91e3b4f3
Adapt to changed signature of the arm get_bootconf_option() (adds a const).
2005-06-08 11:55:29 +00:00
yamt
656adb750b
pf_reassemble: clear stale csum_flags.
2005-06-08 11:50:46 +00:00
martin
f2fa04e658
Use KBD_IDLE instead of magic constants
2005-06-08 10:06:23 +00:00
martin
b8aea19a7a
Add a key symbol for the "Power" key.
2005-06-08 09:11:09 +00:00
he
3ffd57432b
Add an __UNCONST() to appease -Wcast-qual.
...
XXX The way this is done is really wrong, as this function ends up
modifying read-only data marked with 'const'.
The reason we can get away with this is that apparently all the
ports using this code maps text and read-only data read-write.
Reviewed by christos, who suggested "a big XXX comment".
2005-06-08 07:49:45 +00:00
scw
50d7457a5f
Thou shalt not allocate PAGE_SIZE automatic variables on the kernel stack.
2005-06-08 07:25:12 +00:00
oster
77708271bf
- initialize numRUsTotal before we indicate that we are doing a reconstruct.
...
- make numRUsComplete and numRUsTotal 64-bit quantities like
everything else that records this information.
2005-06-08 02:00:53 +00:00
matt
bb583a82ce
Make sure state.end has a valid initial value.
2005-06-07 22:02:48 +00:00
sjg
aa7b975acd
Sometimes .BEGIN target is not wanted - eg in sub-make's.
2005-06-07 18:11:34 +00:00
peter
130e3c23a2
Fix typos.
2005-06-07 13:45:11 +00:00
he
957e5645e9
Sprinkle some const around to make these files compile with -Wcast-qual.
2005-06-07 12:19:46 +00:00
jmmv
f51dc0f3a7
Constify char* arguments to pm_printerr. Fixes the build when ADB_DEBUG
...
is set.
Note that only the first argument needed to be constified to solve the issue,
but given the usage of the arguments in the function, it's worth to constify
all of them.
2005-06-07 12:14:13 +00:00
he
a6b58673ef
Rename cpuspeed to cpu_speed as parammeter in tx39clock_cpuspeed() to
...
avoid shadowing warning.
2005-06-07 12:10:44 +00:00
he
7eb00d0e60
Add use of __UNCONST() to an invocation of tpcalib_ioctl(), as that
...
function may both read and write it's argument. Here it is only
reading from the data argument under WSMOUSEIO_SCALIBCOORDS, so it
is actually fine, but type protection can't express this.
2005-06-07 12:06:55 +00:00
he
7461b37cb5
Rename local variable 'min' to 'mins' to avoid shadowing warning.
2005-06-07 12:02:46 +00:00
he
b3331ee3d4
Add const to the name argument of __dbg_bit_print().
2005-06-07 12:02:04 +00:00
he
7cb32336e1
Add const to the name fields in hipcio_chip and hpcio_attach_args.
2005-06-07 11:43:01 +00:00
skrll
fa0ce9deca
Sync with pcidevs changes.
2005-06-07 11:33:55 +00:00
skrll
2b6261fcdc
Regen.
2005-06-07 11:33:06 +00:00
skrll
d3624a9c95
Add some Intel 802.11 cards.
...
From OpenBSD.
2005-06-07 11:31:44 +00:00
martin
1ee0840364
Do not bother to post "keyboard idle" events to userland when we are
...
in wskbd raw input mode.
2005-06-07 10:29:08 +00:00
skrll
51b20ca033
Fix typo.
2005-06-07 06:27:17 +00:00
pooka
d42ccd3441
Add initial support for the PXA255-based Arcom Viper ARM board.
...
The system can boot into multiuser, but most of the peripheral
driver attachments are still missing.
Thanks go to Jan Nyman for arranging access to the hardware and to
Steve Woodford for reviewing the code.
2005-06-06 20:24:10 +00:00
pooka
7fe36dcdc1
Instead of writing the packet length in two 8bit pieces, use one
...
16bit write. At least in certain environments this has the effect
of the latter 8bit write of the length to be not interpreted as
the first 16 bits of the packet contents and hence the interface
working.
2005-06-06 20:20:09 +00:00
jdc
e0dc2d1568
Revert previous ('_ncpus' is now 'ncpus' again).
...
MI variable names have precedence.
2005-06-06 19:56:46 +00:00
dbj
7753d41b8e
remove (long) cast on bpref, which is daddr_t
2005-06-06 17:10:25 +00:00
yamt
0e70c535bf
tcp_input: don't overload opti.ts_ecr.
2005-06-06 12:10:09 +00:00
yamt
11bfc2d8e1
introduce a macro to initialize uvm_object and use it.
2005-06-06 12:09:19 +00:00
yamt
5ba7cc9aae
cs4281_set_params: fix printf format.
2005-06-06 12:08:09 +00:00
yamt
84ebe3241f
- xen_network_handler: fix transmit stall. (re)start transmit
...
after collecting tx buffers.
- some assertions.
2005-06-06 11:51:41 +00:00