Commit Graph

131172 Commits

Author SHA1 Message Date
augustss 4f104aa9c0 Try to get the Ethernet address of a CDC device in the prescribed way.
If that fails, just invent one (like before).
2004-10-23 13:29:18 +00:00
augustss 4430265c68 Use new functions for getting descriptors. 2004-10-23 13:28:26 +00:00
augustss 67f0f483bd Make an iterator abstraction for looping through all descriptors.
Move usb_get_string() and make it public.
2004-10-23 13:26:33 +00:00
augustss c1d4463c05 Add Ethernet descriptor. 2004-10-23 13:24:24 +00:00
kent 90d3337a6a update for mixer names change
bump date
2004-10-23 12:27:21 +00:00
snj 24641424de Kill trailing whitespace introduced in the last revision. 2004-10-23 00:41:08 +00:00
snj e85784770d Bump date for last, fix a spelling error, sprinkle some Dq, change
some wording.
2004-10-23 00:39:18 +00:00
bouyer 0a0bd752e8 Add an option (-M) to write a mtree specification (which needs to be passed
through sort before being feed to mtree) with file flags, instead of restoring
file flags at the same time as other attributes. Fix various issue with
schg, uchg, sappnd or uappnd flags which cause restore to fail in some case.
Discussed on tech-userlevel:
http://mail-index.netbsd.org/tech-userlevel/2004/10/12/0000.html
2004-10-22 22:38:38 +00:00
jmc 79308267d4 For HOSTTOOL builds, just exclude the chroot support as it's not needed and
avoids having to platform check for fchroot(). Fixes PR#27336
2004-10-22 21:00:18 +00:00
scw 408aca554c Make artsata depend on sata. 2004-10-22 20:05:01 +00:00
peter 224f01f920 Constify. 2004-10-22 18:41:09 +00:00
jmc 693535a5d9 Spelling errors 'dependant' vs 'dependent' from PR#27345 2004-10-22 18:35:41 +00:00
peter ebfed7ec9e Check the status for each test and print the result or an error message
according to the status code. This fixes a core dump in test 4.

Closes PR bin/27145 from ianzag at megasignal.com
Reviewed by christos, jdolecek.
2004-10-22 18:33:06 +00:00
kent 1b1a5c5dba assign AudioNlfe to UATO_SUBWOOFER
assign "phone" to telephony terimnal types.  The label "phone" is used
in ac97 though it is not defined as AudioN* macro.
2004-10-22 17:00:22 +00:00
kent 4f3a6c3aa2 style fixes
- consistent folding in function declarations
 - define a function as Static if the function is declared as Static
2004-10-22 16:01:49 +00:00
christos 29950aef4a Check the result of stat and warn if things are not found.
Change all err/x to warn/x
2004-10-22 15:50:47 +00:00
kent aaf8d890f0 enclose debug macros with do {...} while (0)
from OpenBSD
2004-10-22 15:36:30 +00:00
kent ed036bef2a fix wrong realloc() usage.
from OpenBSD
2004-10-22 15:34:04 +00:00
kent 89affe1894 fix typos in comments.
add open/close code of sync pipe (not enabled)
2004-10-22 15:25:56 +00:00
cube 49440f65c0 Add support for the 82801FB/FR (ICH6/6R) SATA controllers. 2004-10-22 15:09:22 +00:00
cube a5a705f674 Regen. 2004-10-22 15:01:32 +00:00
cube e6c3f8fb8d Add two Broadcom devices (575x chips), correct and add a few Intel entries. 2004-10-22 15:00:50 +00:00
peter 195fae85fa Remove the "(not in tree)" part in the comment for PF. 2004-10-22 14:08:22 +00:00
peter d39f449dd7 Don't ignore the hostname setting in /etc/rc.conf but use it if it exists.
Also change the 'hostname -s' command to 'hostname' because the full name
is what we want.

Fixes my PR bin/25038.
Approved by christos.
2004-10-22 14:00:23 +00:00
augustss 88fe3bf7b4 Mention cdce(4). 2004-10-22 13:44:49 +00:00
augustss 1c7195d7d0 Mention cdce(4). 2004-10-22 13:26:24 +00:00
augustss 75d97f8e83 Add cdce(4). 2004-10-22 13:24:19 +00:00
augustss 5b5a4aedd0 Add the cdce(4) man page. This also gives the correct history of the
driver.  It's only based on Bill Pauls work, the CDC part is by
Daniel Hartmeier.
2004-10-22 13:22:25 +00:00
augustss 1353a882ad Add cdce. 2004-10-22 13:11:12 +00:00
augustss c29a55f981 Add cdce(4). 2004-10-22 13:10:20 +00:00
augustss efe84c1097 Add a driver for Communication Data Class Ethernet devices. From the very
prolific Bill Paul for FreeBSD, via OpenBSD.
XXX Untested, since I don't have any such devices.
2004-10-22 13:08:23 +00:00
augustss 3fbfd79577 Note interrupt transfer support for ehci(4). 2004-10-22 12:22:06 +00:00
augustss 9c5128bdbd The driver supports interrupt transfers now. 2004-10-22 12:20:00 +00:00
augustss 4eb781d843 Print information for high speed hubs about the number of TTs.
Print a message when low/full speed devices are ignored on high speed hubs.
2004-10-22 12:03:21 +00:00
augustss 2c051a4b85 Add interrupt transfers. From OpenBSD.
Having interrupt transfers enables some more device types to be used,
most notably USB2 hubs.  USB2 hubs still cannot handle anything but
USB2 devices, because there is node code to handle hub Transaction Translation
yet.
XXX This code doesn't do good bw scheduling, but it's certainly better than
nothing. :)
2004-10-22 10:38:17 +00:00
augustss 6f9df049df Insert from ifdefs for soft interrupt related stuff. From OpenBSD. 2004-10-22 09:58:00 +00:00
peter 7dbbfa5b53 Update a comment to say that the returned size is in KB. 2004-10-22 09:50:54 +00:00
peter 5d3f22a6e3 Remove the confusing PAGESIZE macro and calculate the size by doing
size / 1024.

Approved by mrg.
2004-10-22 09:49:18 +00:00
augustss 19ddd8a315 Add 3 devices. From OpenBSD. 2004-10-22 09:47:21 +00:00
augustss cb0eb4bacc Add a device. From OpenBSD. 2004-10-22 09:41:01 +00:00
augustss d7eeed3a45 Add 2 devices. From OpenBSD. 2004-10-22 09:39:06 +00:00
augustss 14186a69e1 Regen (previous commit was a mistake). 2004-10-22 09:35:55 +00:00
augustss 86d1561830 Merge a lot of devices from OpenBSD. 2004-10-22 09:34:55 +00:00
skrll 2728318e3c Add __RCSIDs.
OK'd by mycroft.
2004-10-22 05:39:56 +00:00
perry 808ab1197e Use packet length from IP header instead of packet length from BPF
header.
Patches given to me by Ted Lemon.
This avoids using potentially garbage data returned if the ethernet
driver returns a packet that's too long.
2004-10-22 05:22:39 +00:00
wrstuden 6f8b7762c6 Now that we have ofwboot load at 0xe00000, it doesn't make sense for
this kernel to load at 0x800000 - move back to the default and we
have around 13 MB of space for the kernel.
2004-10-21 21:53:58 +00:00
wrstuden df1f02ad54 Now that we have ofwboot load at 0xe00000, it doesn't make sense
for this kernel to load at 0x800000.
2004-10-21 21:52:51 +00:00
rjs 9003fc0a5c Regen. 2004-10-21 21:01:50 +00:00
rjs 89c80e4674 Add definitions for Dell X3 and X30 PDAs. 2004-10-21 21:00:31 +00:00
augustss 176f75ee37 A little portability stuff. 2004-10-21 18:14:40 +00:00