Commit Graph

161660 Commits

Author SHA1 Message Date
drochner
dce09ea075 clean up some definitions around rune_t which are not needed anymore 2007-09-03 20:31:56 +00:00
xtraeme
dc25cf6f51 Add uchcom(4) and uslsa(4). 2007-09-03 20:04:22 +00:00
xtraeme
2f72b95a3d Add uchcom(4). 2007-09-03 20:02:58 +00:00
mgrooms
edac7dae7c Correct the syntax for wins4 in the man page and add nbns4 as an alias. Pointed out by Claas Langbehn. 2007-09-03 18:08:42 +00:00
tshiozak
0506f23195 add a new driver uchcom(4). 2007-09-03 18:05:19 +00:00
tshiozak
260d6cea73 add manpage for uchcom(4). 2007-09-03 18:02:16 +00:00
tshiozak
d0a32c7b25 add support for WinChipHead CH341/340 USB-Serial bridge. 2007-09-03 17:57:36 +00:00
tshiozak
ad88e4382b sync with the last change of usbdevs. 2007-09-03 17:43:20 +00:00
tshiozak
64af3fdf23 add vendor WINCHIPHEAD and product CH341SER. 2007-09-03 17:41:41 +00:00
yamt
fc2f951ae3 yamt-lazymbuf-base5 2007-09-03 15:01:01 +00:00
kiyohara
bfdbbbaec2 No need to check the NULL, m_gethdr() was called always with M_WAIT. 2007-09-03 12:42:50 +00:00
kiyohara
6410e0f367 No need to check the NULL, m_gethdr() calls always with M_WAIT. 2007-09-03 12:38:27 +00:00
pooka
91872d550d xref refuse, don't bump date 2007-09-03 12:34:21 +00:00
he
97bd63dbfb Rename function argument from command to cmd, to make the code
actually build after the previous change.
2007-09-03 11:32:07 +00:00
he
3363bff15a Rename function argument from command to cmd, to make the code
actually build after the previous change.

Also remove a local variable which is no longer used.
2007-09-03 11:30:04 +00:00
he
2f1d720086 Rename function argument from command to cmd, to make the code
actually build after the previous change.
2007-09-03 11:29:43 +00:00
xtraeme
c350e25fb3 - Always use PIO Format 1, which allows independent control of command
and data (PIO Format 0 selects the speed of the slowest drive).
- Set correctly Ultra DMA and Multi-word DMA modes.
- Update comments to be more correct after reading again the datasheet.
2007-09-03 11:16:28 +00:00
xtraeme
b1d137e8f4 Improve some comments. 2007-09-03 03:35:00 +00:00
macallan
b988fb3a70 back out the reference divider probing - doesn't work right on R1xx 2007-09-03 02:45:06 +00:00
xtraeme
dee3b63c54 Add some KASSERT(mutex_owned(&foo_lock)). 2007-09-03 01:29:51 +00:00
riz
f6f3fbbfc3 Properly support both ports of the FTDI 2232C. This allows me to
use all 16 ports of my USB-16COM-RM adapter.  I also verified that
single-port units still work as expected.
2007-09-02 22:35:25 +00:00
jnemeth
0c45a149be fix second tyop, hi jmmv@ 2007-09-02 22:12:47 +00:00
macallan
5dfb2b1c4f forgot to commit this when adding the ag10e driver - actually descend into
the ag10e directory
2007-09-02 21:35:17 +00:00
xtraeme
85f08bb0ab Fix typo in previous. 2007-09-02 21:31:24 +00:00
xtraeme
13af8b9adc Add the -I flag that skips sensors with invalid state. They are shown
by default, but this is for users that don't want to print them.
2007-09-02 21:25:24 +00:00
ober
fe1557ca83 regen. added Intel LPC 82801HEM and 82801IO 2007-09-02 21:03:56 +00:00
ober
51d0f6cc38 Add Intel LPC 82801HEM and 82801IO entries 2007-09-02 21:02:52 +00:00
xtraeme
b7b3d8fc09 Document the "generic-state-string" object in sensor's dictionary. 2007-09-02 20:35:03 +00:00
xtraeme
e5707563c8 Document the new sensor units type: ENVSYS_GSTRING and its member
in the envsys_data_t struct.
2007-09-02 20:27:03 +00:00
dyoung
88399b6877 We cannot sleep in a software interrupt, so do not sockaddr_dl_alloc(...,
M_WAITOK).  Instead, sockaddr_dl_init() a sockaddr_dl on the stack.
2007-09-02 19:42:21 +00:00
xtraeme
cba98bab30 Add a new sensor of type ENVSYS_GSTRING. This is useful to print
the current battery charge state.

$ envstat -dacpibat0 -s"acpibat0 charge state"
  acpibat0 charge state:     NORMAL
$

It will show WARNING, CRITICAL, LOW or NORMAL depending on the
state it is.
2007-09-02 19:38:32 +00:00
xtraeme
1b3709ecde Add a new sensor type to sysmon_envsys(9): ENVSYS_GSTRING.
ENVSYS_GSTRING (aka Generic String) uses the genstr member in
the envsys_data_t struct to add a generic string that envstat(8)
will show as value or state.

It's like the ENVSYS_DRIVER, but doesn't use value_cur. Below
is the dictionary created on these sensors:

<dict>
	<key>description</key>
	<string>acpibat0 charge state</string>
	<key>generic-state-string</key>
	<string>NORMAL</string>
	<key>monitoring-supported</key>
	<false/>
	<key>state</key>
	<string>valid</string>
	<key>type</key>
	<string>Generic string</string>
</dict>

Note that it's limited to 32 chars, but we can grow it if needed.

envstat(8) will print ENVSYS_GSTRING sensors as:

$ envstat -dacpibat0 -s"acpibat0 charge state"
  acpibat0 charge state:     NORMAL
$
2007-09-02 19:36:59 +00:00
jmmv
12d3047f85 Fix typo in last entry. Hi jnemeth@! 2007-09-02 19:36:06 +00:00
agc
b35bda38e1 Cosmetic change to a long line
Don't reset the target session's idea of the disk id whenever input is received.
2007-09-02 18:50:49 +00:00
agc
028ef264bb Only give the AI_NUMERICSERV hint to getaddrinfo() if it's defined. 2007-09-02 18:48:45 +00:00
macallan
4aee9ec48c always try to probe the reference divider, use default only if that fails 2007-09-02 18:47:27 +00:00
macallan
d7a5c78c74 look for an ATY,RefCLK property and pass it to the console device if found.
For radeonfb so it doesn't have to guess the reference clock.
2007-09-02 18:45:36 +00:00
tron
07347616e8 Use "ipv6-icmp" instead of "icmp6" to allow loading these rules again.
Patch supplied by Daniel Horecki in PR bin/36874.
2007-09-02 15:28:43 +00:00
pooka
2c096f9eae "proper" return value handling 2007-09-02 13:55:27 +00:00
pooka
e61b08e4b2 fix assert 2007-09-02 13:54:21 +00:00
pooka
a1c82d9717 * Give rump_vfs_root() the option of returning the vnode unlocked.
* initialize syncdelay
* implement io_sync handler
2007-09-02 13:29:50 +00:00
degroote
6471b574ca The service queue isn't used anymore so don't allocate it.
It saves a bit of memory and reduces diff with other BSD.
2007-09-02 12:18:05 +00:00
pooka
420d610664 include bsd.own.mk for NETBSDSRCDIR
this time noticed by mjf
2007-09-02 12:00:12 +00:00
degroote
58d834d34b Fix scanning code for wpi based on the iwi code.
Keep track of the status of the scan.
On a transition IEEE80211_S_SCAN -> IEEE80211_S_SCAN, don't stop the previous
scan, finish the current scan.
When we receive some frames in the IEEE80211_S_SCAN state, set current_channel
based on the value advertised in beacons or probre reponse.

Moreover, it fixes WPA issues for me.
2007-09-02 11:37:30 +00:00
joerg
ad61ac15d2 Don't define bool, false and true. Use stdbool.h. 2007-09-02 09:57:16 +00:00
dyoung
db10b0d586 m_copym(..., 0, M_COPYALL, ...) -> m_copypacket(..., ...). 2007-09-02 07:18:55 +00:00
dyoung
da055795a8 Delete unused variable. 2007-09-02 07:03:22 +00:00
dyoung
c87aad4f08 Simplify code, add debug statements, and fix a bug that could
soclose() a UDP socket that a struct file still pointed at.
2007-09-02 07:01:41 +00:00
dyoung
6173a47677 m_copy() was deprecated, apparently, long ago. m_copy(...) ->
m_copym(..., M_DONTWAIT).
2007-09-02 03:12:23 +00:00
dyoung
76b1df3703 Get rid of struct oifreq/ifreq compat code, because ifioctl() has
taken care of this for us.
2007-09-02 01:50:58 +00:00