Commit Graph

123078 Commits

Author SHA1 Message Date
bjh21 75080c1305 The VIDC20 data sheet doesn't define the polarity of the sign bit for
8-bit VIDC audio.  Both Richard Earnshaw and I had guessed that a set
bit was positive (the same as normal mu-law), but the AudioWorks
manual, and Sound_SoundLog on RISC OS, seem to disagree.  Change
MULAW_TO_VIDC to match Sound_SoundLog, since the latter is probably
definitive.
2004-01-10 22:33:24 +00:00
is 87374696f2 remove forgotten debug printf from development. 2004-01-10 21:38:32 +00:00
wiz 69680feba7 Add a comma. 2004-01-10 17:41:52 +00:00
hannken ed68c4e34c Allow vfs_write_suspend() to wait if the file system is already
suspending.

Move vfs_write_suspend() and vfs_write_resume() from kern/vfs_vnops.c
to kern/vfs_subr.c.

Change vnode write gating in ufs/ffs/ffs_softdep.c (from FreeBSD).

When vnodes are throttled in softdep_trackbufs() check for
file system suspension every 10 msecs to avoid a deadlock.
2004-01-10 17:16:38 +00:00
oster 6297e36a60 Since the LOCK and UNLOCK flags are never used, no need in extracting them.
Collapse the related variables down to zero.  That means 'flags' is 0
as well.  Nuke the extraction macros, a bunch of the variables, and replace
'flags' as well.
2004-01-10 17:04:44 +00:00
rtr 90b9a61928 control undefine of DDXTIME through Xserver/Makefile.common vars 2004-01-10 16:44:57 +00:00
rtr a63b539adb Undefine DDXTIME if XFree86 server is being built since XFree86 provides
its own copy of GetTimeInMillis().

+ This allows us to get rid of multiple versions of GetTimeInMillis().
  It is provided by libos.a if DDXTIME is undefined.

XXX macppc may be a special case since it builds both XFree86 and Xmacppc
    will resolve later if found to be an issue.
2004-01-10 16:28:29 +00:00
hannken 8308a4868d Split out softdep_flushworklist() from softdep_flushfiles() so that
it can be used to clear the work queue.

Cleanup ffs_sync() which did not synchronously wait when MNT_WAIT
was specified. Clear the work queue when MNT_WAIT is specified.

Result is a clean on-disk file system after ffs_sync(.., MNT_WAIT, ..)

From FreeBSD.
2004-01-10 16:23:36 +00:00
rtr 42fd51da28 + Manpages
+ Wrap lines > 80 chars
2004-01-10 16:14:37 +00:00
yamt 5abccc6a0c comments in nfs_doio_write. 2004-01-10 14:52:53 +00:00
yamt a3b2d1879c add a new bufq strategy, BUFQ_PRIOCSCAN (per-priority CSCAN).
discussed on tech-kern@
2004-01-10 14:49:44 +00:00
yamt 72d1502598 bump to 1.6ZH. add b_prio to struct buf. 2004-01-10 14:46:24 +00:00
rtr 80a1b2e48d + add Xmac68k manpage.
+ wrap lines > 80 chars
2004-01-10 14:44:18 +00:00
yamt 8c55727694 reset i/o priority in geteblk() as well. 2004-01-10 14:43:05 +00:00
yamt 7266a95907 store a i/o priority hint in struct buf for buffer queue discipline. 2004-01-10 14:39:50 +00:00
mrg 2a3954efe6 - some KNF (80 cols)
- fix a printf format issue
2004-01-10 14:28:37 +00:00
rtr 8a313477e5 + x set lists for mac68k
+ move arch dep to ad.m68k
2004-01-10 13:43:56 +00:00
rtr b841d1dd82 trim include dirs not needed 2004-01-10 13:04:03 +00:00
rtr 4500ee8592 remove drivers not in macppc lists 2004-01-10 13:02:13 +00:00
dyoung 55e0f7c6a4 Rounding to the nearest multiple of 2 with roundup(constant, 2) is
easier to read than `constant + 1'.
2004-01-10 07:54:55 +00:00
dyoung 0370da2a5d In atw_rf3000_tune, enable I/O with the modem and RF front-end
"just in time" instead of at the top of the function.
2004-01-10 07:51:16 +00:00
dyoung 348c2d9603 Do not set IEEE80211_F_IBSSON in hostap mode. Treat hostap-mode
when the link condition changes by returning.

Note that hostap mode still does not work in atw, and ADMtek has
told me that the hardware will not support it, but I remain hopeful.
2004-01-10 07:47:02 +00:00
dyoung 005d4641ca Report received-early interrupt with a debug printf.
Print the Serial EEPROM and the MAC address it contains when
atw_debug > 0, because atw_debug > 1 is a little too strict.
2004-01-10 07:41:18 +00:00
minoura d9cff0a9f6 /dev/grf? on x68k must not be accessed without the root priviledge. 2004-01-10 07:17:08 +00:00
dyoung f38df7cae7 Misc. cosmetic changes.
Add a debug printf to the input path.
2004-01-10 07:03:28 +00:00
dyoung a94687e30c Use new docs provided by RFMD to give some meaning to
previously-undocumented registers and magic numbers on the RF3000
baseband.
2004-01-10 06:30:35 +00:00
dyoung bd26cc12f9 Get rid of empty #if 0/#endif stanza. 2004-01-10 06:02:32 +00:00
rtr 1ecafccdd3 Reachover for Xpmax, it builds as good as it ever did from native XF3. 2004-01-10 05:26:14 +00:00
sekiya f3a4be9263 Bus-spacify ip2x core logic. Eliminate magic numbers.
co
2004-01-10 05:22:09 +00:00
sekiya aa7367bc4b Add register definitions for INT2 interrupt controller. 2004-01-10 05:16:57 +00:00
sekiya 280b50a365 Add watchdog and bus error handling functions (these features live in
IMC space, thus should be handled here rather than in ip2x.c)
2004-01-10 05:00:50 +00:00
fredb 782d376ab0 Add and enable cross-build framework for Xmac68k X server using patches
submitted by David P. Reese Jr. in PR xsrc/23968, updated for the recent
changes that have been made in "src/x11". (This currently builds and runs,
unlike the native XF4 mac68k xsrc build.)
2004-01-10 04:34:33 +00:00
fredb 62eaaceeea Don't define DDXTIME on mac68k. This will let us use GetTimeInMillis()
of ".../Xserver/os/utils.c", instead of supplying our own home-rolled
(yet identical) function.
2004-01-10 03:28:19 +00:00
sekiya 60573f92d1 Clean up console device selection logic. 2004-01-10 03:18:23 +00:00
sekiya 937db2de33 de-__P, sprinkle some KNF. 2004-01-10 02:55:54 +00:00
sekiya c370623a7a Add framework for gio card identification based on product ID. devlist2h.awk
was borrowed from sys/dev/pcmcia.
2004-01-10 02:26:44 +00:00
christos fad3a8725a don't include sys/param.h; the man page says that the application should
do that. per discussions in core.
2004-01-10 01:58:48 +00:00
oster 2e19186660 iCleanup the RF_CREATE_PARAM3(). Middle two "arguments" were nothing
but 0 in all cases.
2004-01-10 00:56:27 +00:00
oster 5b7e949cbf More lu_flags disappear into oblivion. 2004-01-10 00:53:08 +00:00
wiz cf9b70c6d4 Update Dd for previous and fix a case. 2004-01-09 23:42:11 +00:00
oster 7edb3013bb Nuke lu_flag and code associated with it being non-zero.
The compiler already knew that these chunks of code
could never be reached (since lu_flag was always 0), so it
already ignored them.
No functional changes.
2004-01-09 23:35:59 +00:00
oster ac6b86acbb [This file should have been committed with the other
rf_enableAtomicRMW changes.]

Cleanup rf_enableAtomicRMW and its use.  According to the comments, we
can't set this to anything other than zero anyway.  Shaves off another
900 bytes.  lu_flag's days are numbered now, as are the middle
parameters of RF_CREATE_PARAM3.
2004-01-09 23:31:37 +00:00
oster 35d7c1ee7e Cleanup rf_enableAtomicRMW and its use. According to the comments, we
can't set this to anything other than zero anyway.  Shaves off another
900 bytes.  lu_flag's days are numbered now, as are the middle
parameters of RF_CREATE_PARAM3.
2004-01-09 23:26:17 +00:00
dbj 8f3b1a3c98 use %#llx instead of %llx when printing incorrect qfmask or qbmask 2004-01-09 22:23:18 +00:00
dbj b4c4fbb551 add fsck compatibility notes
20040109:
	Compatibility for old ffs superblock layouts has been
	added, and the restrictive fsck checks have been reenabled
	when using those layouts.  If you have been using -current
	since 20030402, you may find that fsck again signals fatal
	superblock mismatches.  To work around, you can use
	fsck -b 32 to restore an alternate superblock.
2004-01-09 19:36:28 +00:00
dbj 753116e06f do not upgrade superblock or set FS_FLAGS_UPDATED unless -c 4 option
is provided.
add compatibility for filesystems before FFSv2 integration
these patches are from pr port-macppc/23925 and should also
fix problems discussed in pr kern/21404 and pr kern/21283
2004-01-09 19:12:31 +00:00
dbj 01637061e3 never upgrade the superblock or set FS_FLAGS_UPDATED in fs_old_flags
add compatibility for filesystems created before FFSv2 integration
these patches are from pr port-macppc/23926 and should also fix
problems discussed in pr kern/21404 and pr kern/21283
2004-01-09 19:10:22 +00:00
thorpej 4aeba6790d Initialize buffer pools with PR_IMMEDRELEASE. Don't use pool_reclaim()
on those pools; it is no longer necessary.
2004-01-09 19:01:01 +00:00
thorpej 7f125220f4 Add a new pool initialization flag, PR_IMMEDRELEASE. This flag causes
idle pool pages to be returned to the system immediately upon becoming
de-fragmented.

Also, in pool_do_put(), don't free back an idle page unless we are over
our minimum page claim.
2004-01-09 19:00:16 +00:00
perry 3682e63056 nuke trailing spaces. 2004-01-09 18:31:25 +00:00