jhay
b1094a7d87
Make sppp a kld.
2001-01-03 08:12:30 +00:00
nsouch
c2e300740a
Remove alpm numbering.
2001-01-03 07:39:07 +00:00
jhb
59a7acdd4d
Rename the loader tunable from hw.sndunit to hw.snd.unit.
...
Submitted by: cg
2001-01-03 02:09:31 +00:00
jhb
9598ea3cc7
- When acknowledging interrupts, write the value 0xff to the interrupt
...
status register rather than 0. Without this, a single hardware volume
event triggers an interrupt storm.
- Implement hardware volume control for the Maestro chips. This version
only handles the case where both channels are adjusted at the same time.
Reviewed by: cg
2001-01-03 01:32:57 +00:00
jhb
99e2a84a1f
Add a new API for soundcards that have hardware volume control:
...
- The mixer_hwmute() function can be called when a soundcard receives a
mute request.
- The mixer_hwstep() function can be used to adjust the volume of one or
both channels.
- The 'hw.snd.hwvol_step' sysctl determines the amount that mixer_hwstep()
adjusts the volume by on each call.
- The 'hw.snd.hwvol_mixer' sysctl specifies the mixer device to adjust the
volume on for both functions. The values used correspond to the
SOUNDCARD_MIXER_* constants.
2001-01-03 01:29:47 +00:00
jhb
aa1bf8b0b3
Create a new sysctl node 'hw.snd' and move 'hw.sndunit' to
...
'hw.snd.unit'.
Reviewed by: cg
2001-01-03 01:25:26 +00:00
imp
93d6e1eee3
Add device id for the OZ Micro 6832. I didn't try to init it like the
...
Cirrus Logic parts that end in 6832, but maybe some machines will need
that in the future.
2001-01-02 21:42:48 +00:00
imp
1e95becf76
add pcic_p to the list of things built
2001-01-02 21:40:41 +00:00
nsouch
25701fba42
Cleanup and improve mode detection. Now, you should get what you actually
...
want according to the modes set with the ppc(4) flags. Especially, it
should fix some problems with mode detection of parallel chipsets
configured to EPP but which have timing troubles with the drives. In such
a case, the driver should now fall back to slower modes (PS2, NIBBLE).
2001-01-02 21:29:06 +00:00
nsouch
9c04e54870
Remove old PCI compatibility.
...
Submitted by: Andrew Gallatin <gallatin@freebsd.org>
2001-01-02 21:19:32 +00:00
dmlb
c0bd129221
Tidy up if_init routine so that it does not return an error.
2001-01-02 20:29:25 +00:00
jhb
dd03284643
The previous commit wasn't entirely correct. At least one goto to the
...
out: label in psignal() did not grab sched_lock before trying to release
it. Also, the previous version had several cases where it grabbed
sched_lock before jumping to out: unneccessarily, so rework this a bit.
The runfast: and out: labels must be called with sched_lock released, and
the run: label must be called with it held. Appropriate mtx_assert()'s
have been added that should catch any bugs that may still be in this
code.
Noticed by: bde
2001-01-02 18:54:09 +00:00
ume
3e7ec8ed40
do not touch ra_addr if it is NULL. from IIJ SEIL team
...
Obtained from: KAME
2001-01-02 15:17:19 +00:00
phk
23f02b4722
Fix the <sys/queue.h> abuse.
...
Submitted by: Dima Dorfman <dima@unixfreak.org>
Reviewed by: /sbin/md5
2001-01-02 11:51:55 +00:00
non
f41cea7e39
Remove conflicts between unsinged char *s and int s.
...
It was possible cause of kernel panic.
Pointed Out by: phk@FreeBSD.ORG
2001-01-02 10:41:50 +00:00
phk
75f809e410
Add an XXX about a <sys/queue.h> transgression which needs cleaned up.
2001-01-02 10:34:09 +00:00
phk
854305bfac
Either cvs(1) or I forgot this file in my last commit.
...
Please see commit log for rev 1.4 of src/sbin/mdconfig/mdconfig.c
2001-01-02 09:42:47 +00:00
peter
3e29f9dbec
Newbusify the PCI PDQ (fddi) attachment. This isn't as clean as
...
the EISA attachment and has not been tested (no hardware!), but at least
it stands a chance at working. At least it compiles now.
2001-01-02 09:30:48 +00:00
takawata
0383701d9f
Change Embedded Controller lock to ACPI Global Lock.This is needed for
...
mutual execution between BIOS and OS.
2001-01-02 05:22:35 +00:00
obrien
5d83ebcf7c
PowerPC platform-specific definitions (modeled on sys/i386/include/setjmp.h)
2001-01-02 00:34:24 +00:00
obrien
9344f0ac75
PowerPC platform-specific definitions (modeled on sys/i386/include/types.h)
2001-01-02 00:30:49 +00:00
obrien
5737790e1e
Minor style tweaks.
2001-01-02 00:11:41 +00:00
obrien
fbd89dbc05
PowerPC platform-specific definitions (modeled on sys/i386/include/param.h)
2001-01-02 00:06:45 +00:00
obrien
bac2796b9d
MP shells for the PowerPC platform.
2001-01-01 23:45:11 +00:00
obrien
d940286b54
PowerPC platform-specific page size setting.
2001-01-01 23:26:39 +00:00
obrien
c00705d792
PowerPC platform-specific definitions.
...
Obtained from: NetBSD (parts)
2001-01-01 23:19:22 +00:00
phk
dfe91ebab3
Remove a bogus #ifdef KTR stanza.
...
Noticed by: Alexander Langer <alex@big.endian.de>
2001-01-01 23:09:53 +00:00
phk
cdf3df051b
Add padding space and a version number to the md_ioctl structre for future
...
extension.
Add ability to create a preload disk giving an address and a length
(suggested by imp)
Fix bug relating to very small md(4) devices.
Update md.c copyright to reflect the status of code copied from vn.c.
(noticed by dillon)
2001-01-01 23:08:26 +00:00
obrien
20531f4651
Shells for the atomic operations FreeBSD needs.
...
This is just waiting for a budding PowerPC ASM guy to fill in the blanks.
2001-01-01 23:06:59 +00:00
obrien
ae1d8ec43f
PowerPC platform-specific type definitions.
2001-01-01 22:43:52 +00:00
obrien
65921c45f6
Sort some of the _BSD_* types.
2001-01-01 22:26:56 +00:00
obrien
468ec92a65
Update the e_machine values to include x86-64, PowerPC and [Strong]ARM;
...
and fix the Sparc values. Also update the ELFOSABI list while I'm here.
2001-01-01 21:56:57 +00:00
obrien
888fbf3ca5
PowerPC specific ELF ABI definitions.
2001-01-01 21:54:48 +00:00
mjacob
ebe888cdb7
Sanity check ptr for legal values so it is less likely
...
(but not impossible) to get stuck in an infinite loop.
Obtained from: msmith@freebsd.org
2001-01-01 16:49:31 +00:00
phk
95a1cabbb9
Add a missing vnode_if.h.
...
Submitted by: Jim Bloom <bloom@acm.org>
2001-01-01 11:28:32 +00:00
sobomax
9628e1f0a6
We are now in the year 2001, so ajust copyrights.
...
Happy New Year!
2001-01-01 08:05:48 +00:00
jhb
c368baf0b4
Push down sched_lock in psignal(). sched_lock was being held across
...
recursive calls into psignal() as well as calls to signotify(),
forward_signal(), etc.
2001-01-01 02:31:08 +00:00
jhb
37f5912410
Add in a missing release of the proctree lock.
...
Submitted by: Sja <sakari.jalovaara@eqonline.fi>
2001-01-01 02:19:51 +00:00
mjacob
45232b4094
Add a dopey makefile to do the tags dance, which is probably not perfect
...
but is better than nothing by a good deal.
2000-12-31 23:26:34 +00:00
mjacob
984784059a
there is no more miscfs/devfs
2000-12-31 23:12:20 +00:00
mjacob
21bcb778b3
Fix problems with incomplete conversions from printf to isp_prt.
2000-12-31 20:50:56 +00:00
mjacob
455cbaec15
Oops, I'm such an idiot. For reasons I don't really agree with,
...
all devices are by default known by their 'cooked' name, so
my change was wrong. I thought it was a hangover from old 'block
tape device' support which hasn't worked (if it ever did) since
v6/PWB.
So, the default tape name is now the same as Linux. Far out, man....
2000-12-31 20:29:56 +00:00
phk
0ae4f0870d
This is the first snapshot of the new all-singing-and-dancing md(4).
...
Using the mdconfig(8) program you can now configure memory disks
on malloc(9), swap or a file/vnode. preloaded md disks also work
as usual.
2000-12-31 13:03:42 +00:00
phk
5de479435a
Use macro API to <sys/queue.h>
2000-12-31 10:24:19 +00:00
phk
bd55e14c59
Add compress option at the instigation of rgrimes.
2000-12-31 10:22:52 +00:00
mjacob
072d9a6f78
Unbelievable how this slipped through. There is
...
no such device as /dev/nsa0. The DEFTAPE should
"/dev/nrsa0". *Groan*.
2000-12-31 08:17:19 +00:00
tanimura
48f3847902
Ignore a net interrupt if the corresponding handler is not
...
registered.
This fixes panic on my laptop where a spurious arp packet
is received when arp is not ready to run.
2000-12-31 01:31:55 +00:00
ps
653b0a4d6a
Backout rev 1.57 & 1.58. While the previous revisions fixed
...
attaching to running processes, it completely breaks normal debugging.
A better fix is in the works, but cannot be properly tested until
the problem with gdb hanging the system in -current is solved.
2000-12-31 01:30:27 +00:00
dillon
41fd6873a8
Fix a lockup problem that occurs with 'cvs update'. specfs's fsync can
...
get into the same sort of infinite loop that ffs's fsync used to get
into, probably due to background bitmap writes. The solution is
the same.
2000-12-30 23:32:24 +00:00
phk
72cd3208b3
Use macro API for <sys/queue.h>
2000-12-30 22:06:19 +00:00