Commit Graph

82358 Commits

Author SHA1 Message Date
bouyer
7877547494 Add twa(4) and ld at twa where it makes sense. 2006-07-30 17:53:50 +00:00
elad
5446ee0ef6 ugh.. more stuff that's overdue and should not be in 4.0: remove the
sysctl(9) flags CTLFLAG_READONLY[12]. luckily they're not documented
so it's only half regression.

only two knobs used them; proc.curproc.corename (check added in the
existing handler; its CTLFLAG_ANYWRITE, yay) and net.inet.ip.forwsrcrt,
that got its own handler now too.
2006-07-30 17:38:19 +00:00
bouyer
ae11e4655e Add some missing splvm()/splx() around uvm_km_* I noticed. 2006-07-30 10:49:48 +00:00
simonb
6c1cfac08b Add support for 82945GM and (untested) 82945P AGP. FreeBSD and
Linux both treat the 945 series exactly the same as the 915 series
for AGP, so just match a few extra device IDs.
2006-07-30 04:23:44 +00:00
simonb
041946b812 Regen. 2006-07-30 04:18:25 +00:00
simonb
aaba845631 Add 82945P_IGD.
Should this be "82945G_IGD", and other 945 device IDs have G instead of P
suffix?
2006-07-30 04:17:42 +00:00
tsutsui
351cfbb29b scc (alpha) was removed ~4 years ago. 2006-07-30 03:02:07 +00:00
wiz
7df24bdea9 - dc, dtop, scc (pmax), they were removed yesterday. 2006-07-30 00:39:27 +00:00
riz
184df1b6fd Correct an error introduced in rev 1.3; if there are no sensors of a
given type, this is indicated by "low" > "high" in the envsys_range
struct - the comments (and revision 1.2 of this file) indicate there are
no sensors of type ENVSYS_SVOLTS_AC, so fix viaenv_ranges[] to agree
with this.
2006-07-29 21:03:24 +00:00
ad
d8360081f7 Remove RASTERCONSOLE support from the pmax port. 2006-07-29 19:10:56 +00:00
kiyohara
43b03eea5b Alphabetical order. 2006-07-29 19:02:28 +00:00
ad
a08a363b0d Remove unused variable. 2006-07-29 18:48:14 +00:00
wrstuden
7cfa6f224f Updated driver, contributed by Jordan Rhody of Wasabi Systems.
Main fix is to improve reliability under heavy load and frequent
status monitoring.
2006-07-29 00:13:57 +00:00
riz
dd3bbab5ac Change "-mcpu=i486" to "-mtune=i486" so this will compile with gcc4. 2006-07-28 20:16:14 +00:00
wrstuden
94e89e2961 Updated twa driver contributed by Jordan Rhody of Wasabi systems.
Correct AEN severity values.
2006-07-28 19:23:53 +00:00
dyoung
7559ef3351 Extract predicate M_UNWRITABLE(m, len), which is true iff len
consecutive bytes at the front of m are writable (i.e., neither
shared nor read-only).
2006-07-28 17:34:13 +00:00
dyoung
8cb43bea43 Fix mtod() usage. If we will write to the mbuf data, check whether
the data is read-only/shared and call m_pullup().  Otherwise,
extract a const pointer to the mbuf data.

XXX I should extract a new macro, M_WRITABLE(m, len), that is true
if m has len consecutive writable bytes at its front.

KNF slightly.

Use bpf_mtap_af().
2006-07-28 17:06:59 +00:00
dyoung
bce72f7b6a Fix mtod() usage. If we will write to the mbuf data, check whether
the data is read-only/shared and call m_pullup().  Otherwise,
extract a const pointer to the mbuf data.

XXX I should extract a new macro, M_WRITABLE(m, len), that is true
if m has len consecutive writable bytes at its front.
2006-07-28 17:04:27 +00:00
dyoung
ae0b3d534e Where mbuf data may be read-only/shared, use mtod(m, const ...).
Annotate a comparison and m_pullup() that seem unnecessary.
2006-07-28 16:30:55 +00:00
dyoung
788c34d9d0 Use bpf_mtap_af(). KNF slightly. 2006-07-28 16:26:20 +00:00
hannken
fc67a08a9c Remove 'unused variable p'. 2006-07-28 14:08:11 +00:00
hannken
5bc42a01ba Fix typo: slim -> &slim. 2006-07-28 13:02:56 +00:00
hannken
055db86c86 Remove 'unused variable p'. 2006-07-28 13:02:21 +00:00
scottr
aed25205e0 Regenerate with correct rcsids 2006-07-28 08:57:03 +00:00
ad
76274213ea Correct first arg to falloc(). 2006-07-28 08:51:05 +00:00
simonb
7056ad57e0 Remove a few trailing blank lines. 2006-07-28 08:15:29 +00:00
scottr
f9be1a6de9 Add Siemens SS1021 WLAN. 2006-07-28 08:02:39 +00:00
kent
6e5c3f3d89 add support for S/PDIF. 2006-07-28 07:41:39 +00:00
kent
add0e05fda add support for AC'97 S/PDIF 2006-07-27 15:35:01 +00:00
christos
3358c957a3 PR/34094: Jorge Acereda: Kernel option KSTACK_CHECK_MAGIC doesn't build 2006-07-27 00:04:08 +00:00
bjh21
5d74db8c24 Add __attribute__((__noreturn__)) to kernel longjmp(), like the userland one
already has.  This makes arch/acorn26/acorn26/cpu.c compile with GCC 4.
2006-07-26 20:50:56 +00:00
drochner
84f50d1b92 don't install <machine/db_machdep.h>, this is kernel only 2006-07-26 19:54:56 +00:00
elad
14171f6143 make the sleepable assertion in #if 0 (with commented out LOCKDEBUG for
later) until we sort that stuff out.
2006-07-26 17:13:26 +00:00
elad
ebdd7412b5 sync kpi with docs, remove old comments 2006-07-26 16:34:07 +00:00
elad
0050618207 deprecate "options VERIFIED_EXEC"
veriexec pseudo-device doesn't need a count anymore too

XXX: port masters should propagate this to their ports
2006-07-26 15:34:39 +00:00
elad
22e1a583a2 fix logic in veriexec_report() 2006-07-26 15:14:24 +00:00
kent
117c4cc6d5 add capability to support for S/PDIF.
If a codec supports for AC'97 S/PDIF, it will have an mixer "spdif.enable."
However, we can't change the value of the mixer without AC'97 host
driver's support.
2006-07-26 14:44:33 +00:00
itohy
ae1a2ff3d3 Remove ADM9511's "signature".
I don't think it is used anywhere.
2006-07-26 14:21:20 +00:00
christos
224c697f91 Patch from Dheeraj S, inspired by the following FreeBSD change:
Rather than calling mircotime() in catchpacket(), make catchpacket()
take a timeval indicating when the packet was captured. Move
microtime() to the calling functions and grab the timestamp as soon
as we know that we're going to call catchpacket at least once.

This means that we call microtime() once per matched packet, as
opposed to once per matched packet per bpf listener. It also means
that we return the same timestamp to all bpf listeners, rather than
slightly different ones.

It would be more accurate to call microtime() even earlier for all
packets, as you have to grab (1+#listener) locks before you can
determine if the packet will be logged. You could always grab a
timestamp before the locks, but microtime() can be costly, so this
didn't seem like a good idea.

(I guess most ethernet interfaces will have a bpf listener these
days because of dhclient. That means that we could be doing two bpf
locks on most packets going through the interface.)
2006-07-26 13:54:13 +00:00
tron
30d6332135 Bluetooth fixes by Iain Hibbert:
Remove bthset(4) device and add btsco(4) in its place. This is an
improved version which is not just for headsets, as it can receive
incoming connections (eg for Hands Free Profile). Update bthset(1)
control utlitiy to relate to new device.
2006-07-26 10:43:01 +00:00
tron
5d67049004 Bluetooth fixes by Iain Hibbert:
- Update bthidev(4) to use property lists for configuration.
2006-07-26 10:40:50 +00:00
tron
4241fec1bf Bluetooth fixes by Iain Hibbert:
Change the way in which bluetooth devices attach to system. The
new way is for devices to attach directly to a btdevN device via
its own control file /dev/btdevN.
- bthub(4) is replaced by btdev(4).
- /dev/bthubctl is replaced by /dev/btdevN.
- configuration now uses proplib(3) property lists.
- btcontrol(8) updated to use new API, and now uses private
- XML config file /var/db/btdev.xml.
2006-07-26 10:30:59 +00:00
tron
b504a17332 Bluetooth fixes by Iain Hibbert:
- Enable listening and incoming connections for SCO links.
2006-07-26 10:20:56 +00:00
tron
1b42d7e7dc Bluetooth fixes by Iain Hibbert:
- Clarify some deprecated commands from the 2.0 spec.
2006-07-26 10:13:49 +00:00
tron
0429374bbb Bluetooth fixes by Iain Hibbert:
- Utilise cached inquiry results when making connections.
2006-07-26 10:10:06 +00:00
dogcow
c959b3c4bd at the request of elad, as veriexec.h has returned, revert the changes
from 2006-07-25.
2006-07-26 09:33:57 +00:00
martin
a8770a2683 Make it compile again 2006-07-26 08:09:21 +00:00
cube
cad5e9a56c Remove "atapibus* at umass?" and "scsibus* at umass?" when there is
already an attachment to the interface attribute (atapi and scsi).

Part of PR#34085, although it is the contrary to what the submitter
suggests (which shows that having both in a config file can be confusing).
2006-07-26 07:00:23 +00:00
elad
29a0dff0c0 kill dup prototype 2006-07-25 19:33:35 +00:00
elad
ddf6300b26 typo; from Arnaud Lacombe, thanks! 2006-07-25 18:43:15 +00:00