Commit Graph

77855 Commits

Author SHA1 Message Date
tsutsui 97776d231d - Use mtc0/mfc0 rather than dmtc0/dmtc0 for the PageMask register.
- Tidy up some comments.
2005-10-01 02:05:19 +00:00
macallan 8240aaf01d revert unnecessary geometry changes, add missing {} so turning off the
cursor when leaving emulation mode and getting it back when re-entering really
works now.
2005-10-01 01:10:50 +00:00
uwe e97ebbc6c8 Minor KNF police. 2005-09-30 23:16:26 +00:00
macallan 8d7ddb1d4e - turn off the hardware cursor when leaving WSDISPLAYIO_MODE_EMUL
- only lock the hardware cursor when not in WSDISPLAYIO_MODE_EMUL
- allow cursor position between 0 and (screen width + max. cursor width - 1),
  same for height so it can move partially offscreen in all directions
2005-09-30 22:28:19 +00:00
macallan a07be5404a fix borked MicroSPARC IIep microtime() from previous version. 2005-09-30 22:09:29 +00:00
jmmv 38c8dceb4b Explicitly initialize the tn_lockf field. I expect problems in some
situations otherwise...
2005-09-30 14:29:19 +00:00
dyoung 3d52cdeb53 In cd9660_mount, initialize imp to VFSTOISOFS(mp) instead of NULL.
Remove redundant assignments to imp.  This fixes the page fault
panic when the kernel mounts an ISO9660 filesystem, introduced at
revision 1.27.
2005-09-30 08:15:46 +00:00
skrll 0063b53d7b Improve interrupt handling:
- don't disable/enable as we're already at splnet()
	- ack the interrupts early

Fixes my "lost interrupt" problem.

Thanks to dyoung and scw for the suggestions.
2005-09-29 19:57:36 +00:00
jmmv b6d141c71c Implement the tmpfs_advlock operation. Makes "user-level" file locking
work (aka lockf(3)).
2005-09-29 19:48:21 +00:00
skrll c9b506e88e Fix the endianness of the scan command.
All the channels get the right scan type/dwelltime now.
2005-09-29 19:45:57 +00:00
abs 97f580372a If we're enabling ipfilter then we should really have IPFILTER_LOG 2005-09-29 17:21:24 +00:00
christos 3888bec411 Move the duplicate mount check sooner, and fix a leak. 2005-09-29 14:45:56 +00:00
tsutsui 0c1404101b - Remove duplicated #include.
- kseg2iobufsize should be vsize_t, not vaddr_t.
2005-09-29 10:39:43 +00:00
kent 50e11da459 * shorten *_init_dacgroup() functions
* add a hook point for widget initialization and implement for ALC882
2005-09-29 04:14:03 +00:00
yamt 5ce7d98710 tmpfs_getattr: return up-to-date timestamps. 2005-09-28 23:42:14 +00:00
martin 39f4abb7a9 Remove spurious debug output accidently commited in revision 1.44. 2005-09-28 21:36:23 +00:00
nathanw ff56508626 Set sc->sc_cfdata.cf_fstate to FSTATE_STAR rather than FSTATE_NOTFOUND
so that config_detach() doesn't panic.

(XXX this points to some disagreement between config_attach_pseudo()
and config_detach() over the correct role of pseudo-device cfdata)
2005-09-28 18:25:19 +00:00
seanb 6d8b694cb5 - Close NULL dereference when a GIFALIAS is performed on
a non existant address.
- Code review: christos
2005-09-28 17:56:27 +00:00
kent 4443bcd69a add codec-specific code for ALC260, ALC880, ALC882,
and STAC9221 to detect DAC/ADC cominations.
2005-09-28 14:26:19 +00:00
kent 6e455dd565 split azalia.c into three files.
* azalia_codec.c: code for specific codecs
  * azalia.c: other code
  * azalia.h: common definitions
2005-09-28 13:06:49 +00:00
he c6c2d9e696 Suddenly these need explicit inclusion of <sys/socket.h>; they use
the MSG_OOB and AF_LINK symbols (among others).  Fixes build problem.
2005-09-28 06:40:15 +00:00
jmmv 24d12cb7e6 Some style fixes in comments. 2005-09-27 20:35:33 +00:00
chs 8a6025c821 this needs stuff from compat/sys/siginfo.h now, just include it here. 2005-09-27 15:09:04 +00:00
chs 1e20ffb8a1 regen 2005-09-27 15:07:54 +00:00
chs ad1b7e8d5c include "opt_compat_sunos.h", netbsd32_syscallargs.h wants it. 2005-09-27 15:07:40 +00:00
chs c0f26b2223 remove unnecessary includes. 2005-09-27 15:06:43 +00:00
macallan 2f6c0aa9c0 fix a typo 2005-09-27 15:04:26 +00:00
macallan e979e1f3de added a few missing device names 2005-09-27 14:47:41 +00:00
chs 94be8205d7 make this compile again. 2005-09-27 14:37:06 +00:00
macallan c247bb3437 rename gpio -> macgpio to avoid conflicts with gpio framework 2005-09-27 14:34:15 +00:00
martin 3faf969174 Adapt to struct vfsops changes during the NFS export rototill. 2005-09-27 13:26:03 +00:00
chs 0b934711f4 avoid calling into the pool code while PSL_EE is off.
the pool code can do spl*()/splx(), and splx() requires PSL_EE to be on.
2005-09-27 08:03:11 +00:00
yamt baee927713 introduce "ufs_ops" and use it for ITIMES. 2005-09-27 06:48:55 +00:00
yamt 050407b699 change um_maxfilesize to unsigned as its on-disk counterpart is. 2005-09-27 06:48:16 +00:00
simonb e13e6f0180 Add SigmaTel STAC9752/53 codec ID. 2005-09-27 05:24:40 +00:00
jmcneill 9ea1878225 Add (commented out) definition of gpio attachment to nsclpcsio 2005-09-27 02:57:47 +00:00
jmcneill dfb097e283 Add (commented out) definition of isa at gscpcib 2005-09-27 02:57:02 +00:00
jmcneill b8a32e9d53 Attach to gpiobus. From OpenBSD. 2005-09-27 02:56:27 +00:00
jmcneill 7ad695546c Add (commented out) definitions for gscpcib and the equivalent gpio
attachment.
2005-09-27 02:47:42 +00:00
jmcneill 777503501e Add NS Geode PCI-ISA bridge GPIO support. 2005-09-27 02:42:44 +00:00
jmcneill b77b366d41 Add gpio files and majors. 2005-09-27 02:41:10 +00:00
jmcneill bec79ef231 Import general purpose I/O framework from OpenBSD. 2005-09-27 02:34:02 +00:00
kent 70c1989a17 * azalia_attach_intr()
ignore errors of codec initializations if at least one
codec is initialized successfully

* azalia_alloc_dmamem()
  fail if the HDA controller does not support 64 bit addressing
and buf_dmamap_* allocate a 64 bit address.

Pointed out by Brett Lymn
2005-09-26 17:30:04 +00:00
yamt 7b343ec65a - defflag bufq_fcfs and bufq_disksort.
- make them on by default.
2005-09-26 14:14:26 +00:00
yamt d3a07546a6 revert ffs_snapshot.c 1.20 because it's bogus. pointed by Simon Burge. 2005-09-26 14:10:32 +00:00
yamt 6138b82a56 always use nanotime rather than time.
it's bad to mix nanotime and time because it sometimes
make timestamps go backwards.
2005-09-26 13:52:20 +00:00
jmmv 90260ab291 Handle too big numbers given in the max size argument. 2005-09-26 09:50:08 +00:00
christos 2cbe95f3ac Regen. 2005-09-26 03:04:46 +00:00
christos 65a3ca6215 some of the extattr syscalls return ssize_t not int. 2005-09-26 03:02:19 +00:00
yamt 58e607b974 tmpfs_rename: fix lock/unlock mismatch. 2005-09-26 00:46:59 +00:00