jmmv
766ab88550
The getwschar and putwschar accessops are gone.
2006-04-15 17:54:34 +00:00
matt
59ec00f1e2
Use M_ZERO instead of an explicit memset.
2006-04-15 17:54:12 +00:00
jmmv
b345e2a3a3
WSDISPLAY_CHARFUNCS is gone.
2006-04-15 17:53:03 +00:00
matt
8b8889400b
No reason to do *(vaddr_t *)& dance. We only assign to vaddr_t
2006-04-15 17:52:56 +00:00
matt
9102bc5b5b
Don't do a.out check unless EXEC_AOUT is present.
2006-04-15 17:51:34 +00:00
jmmv
36c5a043b5
WSDISPLAY_CHARFUNCS is gone.
2006-04-15 17:51:24 +00:00
matt
7cafee35c3
Add ksyms
...
Add file-systems for NULL & TMPFS
2006-04-15 17:50:47 +00:00
jmmv
aec18036fd
Remove the getwschar and putwschar accessops from wsdisplay drivers as
...
requested by uwe@. These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.
As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.
Reviewed by, at least, uwe@ and macallan@. No objections in tech-kern@.
2006-04-15 17:48:23 +00:00
matt
d4449c8a4e
switch from MALLOC to malloc
2006-04-15 17:47:31 +00:00
jmmv
3947d9184e
Add missing parameter to s3c24x0_lcd_{ioctl,mmap} functions (after the
...
change in wscons that modified their signature) to let this build again.
Pointed out by he@.
2006-04-15 17:00:11 +00:00
simonb
21ca328ade
ANSIfy, white-space nits.
2006-04-15 16:47:30 +00:00
simonb
f9d6b7d22c
Remove "register", ANSIfy.
2006-04-15 16:45:19 +00:00
he
5c4bf9a124
The type returned by __arraycount() is a size_t, not an int, so print it
...
with %zd and not %d.
2006-04-15 16:36:03 +00:00
simonb
9b55c28cd5
The comment says this is the same as the i386 counterpart, so catch
...
up on de-__P and ANSIficiation that i386 has.
2006-04-15 16:17:36 +00:00
simonb
ed66be255e
Switch Algor port to MIPS generic soft-interrupts implementation.
...
XXX: Compile tested only.
2006-04-15 16:13:24 +00:00
tnozaki
96c958955a
wcstod(3) is conform to ISO C90 Ammendant1 (FreeBSD's manpage is incorrect...).
...
don't __weak_alias'ize it and fix manpage.
2006-04-15 15:34:34 +00:00
simonb
727facb192
Add a DEBUG check that panics if pool_init() is called more than
...
once on the same pool.
As discussed on tech-kern a few months ago.
2006-04-15 14:23:11 +00:00
tsutsui
ce21617f93
Add AHC_USETARGETDEFAULTS to ahc_flag, which enables to
...
use default target (but not for host) device settings on
ahc(4) interface without its SEEPROM (mostly on-board one).
This flag could be useful if host's BIOS (firmware) initializes
ahc(4) chip with some conservative (async, no tagged queuing etc.)
target settings for minimum support to load its primary loader etc.,
and it will be enabled in each attachment according to MD device
properties(9). Currently this property is set only on sgimips for
O2 on-board aic7880 adapters.
No objection on tech-kern (and netbsd-bugs), and closes PR kern/23276.
2006-04-15 14:22:52 +00:00
darrenr
b817a6b4f0
This change corrects what 1.6 tried to do. This feels like a coverity fix
...
for a code path that should never actually happen (fr_newauth() should only
be called for auth rules - i.e. when fin_fr != NULL. If it is possible to
call fr_newauth() with fin_fr == NULL then this change introduces a
regression compared to prior importing of 4.1.13.
2006-04-15 13:58:43 +00:00
tsutsui
4cd8515cfc
Add a NetBSD RCS ID.
2006-04-15 13:43:11 +00:00
tsutsui
4e1d380fcb
Switch cobalt port to use MI todr(9) functions and MI mc146818 driver.
...
Tested on RaQ2 and Qube2 on port-cobalt.
2006-04-15 13:33:04 +00:00
tsutsui
5423553a08
u_int32_t -> uint32_t
2006-04-15 13:26:03 +00:00
tsutsui
78354f8518
Add bmtphy at mii, found on 3Com 3C982-TXM:
...
> bmtphy0 at ex0 phy 24: Broadcom 3c905C internal PHY, rev. 7
2006-04-15 12:58:26 +00:00
tsutsui
0d0bf3b542
Add support for pci_configure_bus(9) (a.k.a. options PCI_NETBSD_CONFIGURE)
...
so that PCI devices over ppb(4) work properly on PCI based NEC machines.
Tested on my NEC JC94 (Express5800/230) and 3Com 3C982-TXM,
which has a DEC/Intel 21154 PCI-PCI bridge and two 3C920 Ethernet chips.
2006-04-15 12:53:09 +00:00
tsutsui
c51f229f25
Detect FAS216 chip on some Olivetti machines. (untested)
...
Based on a patch for old asc driver from Maki Kato:
http://mail-index.netbsd.org/port-arc/2000/10/07/0003.html
2006-04-15 12:41:45 +00:00
martti
09780f733e
Merged changes between OpenBSD rev 1.13 and 1.14.
2006-04-15 12:36:23 +00:00
tsutsui
7336546bdd
This file is mostly identical with GENERIC except pccons/wscons,
...
so just include GENERIC and use "no" keyword of options(4).
XXX arc/dev/pccons.c needs cleanup for -Wshadow and -Wcast-qual.
2006-04-15 12:26:22 +00:00
tnozaki
612f4fc411
update recent implementation status.
2006-04-15 12:21:44 +00:00
tnozaki
f9de1ba57e
add c99 wcstof(3) and wcstold(3).
...
requested by skrll AT netbsd DOT org, thanks.
bump libc minor 138 -> 139.
2006-04-15 12:17:22 +00:00
tsutsui
6abe9ac90a
u_intNN_t -> uintNN_t
2006-04-15 11:33:33 +00:00
tsutsui
7309391544
Identify cobalt models at boot and store it to a variable cobalt_id.
...
Tested on and Qube2 by several people on port-cobalt and my RaQ2.
2006-04-15 11:28:52 +00:00
tsutsui
a410f672e0
Ack interrupts only if they are actually handled.
2006-04-15 09:07:50 +00:00
tsutsui
b34ad9c583
Misc cosmetics.
2006-04-15 09:01:11 +00:00
tsutsui
c234c43a71
Include "ioconf.h" rather than declare struct cfdriver foo_cd in each file.
2006-04-15 08:49:47 +00:00
agc
147705130b
Bump version number to 20060415 for the bug-fix on big-endian Solaris
...
platforms.
2006-04-15 08:48:42 +00:00
agc
975cee31c1
Fix a bug found when running the NetBSD iSCSI target on big-endian (i.e.
...
Sparc) Solaris hosts - check that the stored username is not NULL before
freeing it.
Some minor formatting cleanup.
2006-04-15 08:46:23 +00:00
christos
cf974ddc9d
Adjust for new io_stats
2006-04-15 06:24:40 +00:00
dogcow
b9eb230696
Make XENU compile again. (I'm not sure if this is the 'correct'
...
way to it build correctly; there might be some different method to
the new iostats collection framework.)
2006-04-15 06:18:56 +00:00
christos
0bc8039fc6
Coverity CID 1166: Add KASSERT before deref.
2006-04-15 05:32:29 +00:00
christos
3d772305a8
Coverity CID 1169: Add KASSERT before deref.
2006-04-15 05:31:18 +00:00
christos
e14b3e8165
Coverity CID 2858: Avoid NULL deref.
2006-04-15 05:29:10 +00:00
christos
17ed031f90
Coverity CID 2499: Fix uninitialize variable use.
2006-04-15 05:19:08 +00:00
christos
6f0c68c543
Spell coalesce correctly.
2006-04-15 05:07:15 +00:00
christos
1e59f0da77
Coverity CID 2727: Simplify code.
2006-04-15 05:05:44 +00:00
christos
cb70a32776
Coverity CID 848: Protect against NULL deref.
2006-04-15 04:58:14 +00:00
christos
df507c4fbb
Coverity CID 846: Simplify code.
2006-04-15 04:56:14 +00:00
christos
76a19fcdb4
Coverity CID 845: Make it clear that devnullfp != NULL.
2006-04-15 04:50:08 +00:00
christos
d269a5fa4d
Coverity CID 760: Protect against NULL deref.
2006-04-15 04:47:11 +00:00
christos
17db7d5dd6
Don't use KASSERT, return an error instead to fix the build.
2006-04-15 04:45:01 +00:00
christos
10c2c730a5
Coverity CID 716: Fix query size vs return results initialization.
2006-04-15 04:41:52 +00:00