Commit Graph

138408 Commits

Author SHA1 Message Date
dyoung
05cab81dd8 Don't write the WEP keys to the device if it is invalid (e.g.,
unplugged) or if it is not enabled.  Fixes kern/30592.
2005-07-06 06:49:25 +00:00
fair
5b701efaa2 Document that misaligned transfers will be done with PIO rather than DMA. 2005-07-06 06:36:10 +00:00
thorpej
527d62e0a2 - When starting an ATA or ATAPI transfer, handle the case where (*dma_init)()
returns EINVAL, indicating that DMA cannot be done for this transfer.
  Fall back to PIO in this case.
- Add a geodeide_dma_init() routine that checks to make sure that transfers
  start on a 16 byte boundary, returning EINVAL if not.  Works around a chip
  bug that causes a hard system hang.

Problem reported and patch tested by Erik Fair.
2005-07-06 01:46:52 +00:00
he
053b017df8 Wrap use of MALLOC_DECLARE() within an #ifdef _KERNEL, it's declaration
in sys/mallocvar.h is within a similar conditional.
Fixes build problem for vax.
2005-07-05 23:04:14 +00:00
he
36fc2f101b Add const to a duplicate declaration of sd_state(). 2005-07-05 22:21:38 +00:00
he
c92bbdc733 Follow up after adding const by doing some more. 2005-07-05 22:20:47 +00:00
he
3bed0ba4dd Add const to arrays initialized with string constants.
Found while compiling for vax (why wasn't this caught by newer gcc?)
2005-07-05 22:15:41 +00:00
mrg
8ce77e5534 move some more processing before opening the audio device. don't
default the encoding to ulaw; default it to what ever the device
has.  the latter fixes PR#30612.
2005-07-05 22:01:42 +00:00
he
8d673b50bf Add const to the tsptype array, compiled under TSPTYPES.
Found while building for vax.
2005-07-05 21:57:08 +00:00
he
886478a4b7 In the workaround for vax, we need to also specify that stdbool.h is
to be created under the beforedepend target.
2005-07-05 21:52:13 +00:00
tron
655544a062 Comment out the less popular 3Com 3c507 and reenable the 3c503 as
suggested by Jason Thorpe and Manuel Bouyer on the port-i386 mailing list.
2005-07-05 21:17:38 +00:00
mrg
906f130f1a check that an output file is given before doing any other work.
avoids touching the audio device and then printing an error.
2005-07-05 21:05:50 +00:00
kleink
99dffcffea Set LOGNAME in the new environment (in addition to USER);
fixes PR bin/30670 from Pavel Cahyna.
2005-07-05 20:15:13 +00:00
dyoung
83285d3445 In ieee80211_refine_node_for_beacon, do not decrease the reference
count on the node that is passed in, because it belongs to the
driver.  Also, do not increase the reference count on the refined
node, because ieee80211_refine_node_for_beacon's caller (ieee80211_input)
will never decrease the reference count.

As a general rule, reference counts are used for driver code to
assert ownership of ieee80211_nodes that are shared by the driver
and net80211 layer.
2005-07-05 19:56:04 +00:00
kleink
f811c80a93 Document LOGNAME; from Pavel Cahyna in PR misc/30671. 2005-07-05 19:46:02 +00:00
wiz
d4a56979fa Enable ACS characters in rxvt. Closes PR 30655. 2005-07-05 15:35:06 +00:00
wiz
223c2f668b Grammar fix from jmc@openbsd. 2005-07-05 15:28:44 +00:00
wiz
b08598c658 Improve -ml description, wording from jmc@openbsd. 2005-07-05 15:28:16 +00:00
tron
96109dd1ae Comment out drivers for 3Com 3C501, 3C503 and 3C505. These cards weren't
very common and had more or less severe restrictions. This finally fixes
the NetBSD-i386 release build.
2005-07-05 15:00:33 +00:00
lukem
5f450b0c4b Improve the description of the macros.
Patch from David H. Gutteridge in PR 24296.
2005-07-05 09:29:54 +00:00
wiz
a2b9f45e1c Quote macro. 2005-07-05 08:48:47 +00:00
tron
89b7f0c149 Adapt to recent source tree changes:
- usr.sbin/config -> usr.bin/config
- contrib/sys -> sys/contrib
2005-07-05 08:41:16 +00:00
kleink
58a82aeec2 Include <sys/cdefs.h> for __signed. 2005-07-05 08:15:34 +00:00
augustss
c65a426711 Add auixp. 2005-07-05 07:11:52 +00:00
christos
70a3bc48dd Don't use ${INSTALL_FILE} to copy to obj dir. 2005-07-05 03:10:11 +00:00
enami
8bf4305eee Fixes to previous:
- Don't handle single and multiple slashes differently.
- A symlink to a directory can be appear in the middle of path.  Don't
  reject it.
2005-07-05 02:56:12 +00:00
christos
cb1d68978b Patch from Liam J. Foy:
- cleanup sendto code.
- fix usage.
2005-07-05 02:46:36 +00:00
jdc
93bdac459d Only set up the console screen on the console ffb.
Fixes bug where ttyE0 ends up on the 2nd ffb.
Based on dev/sun/cgsix.c:r1.27 (from macallan@).
2005-07-04 22:18:37 +00:00
elad
0b9ed39b26 Make realpath(3) work correctly.
The current code resolves paths like `/foo/bar/', `/foo/bar/./', and
`/foo/bar/../', even if `bar' is a regular file and not a directory.

Reviewed by cube@.
2005-07-04 20:44:47 +00:00
drochner
6d8bb016f7 update PCI/Cardbus ral wlan driver, and adapt to new FreeBSD/NetBSD
80211 framework, from FUKAUMI Naoki per mail to tech-net
2005-07-04 17:50:09 +00:00
drochner
c2ddc13a41 some fixes and cleanups to the USB-ral wlan adapter, from FUKAUMI Naoki
per mail to tech-net
2005-07-04 17:46:31 +00:00
drochner
95ecbce6dc regen 2005-07-04 17:43:15 +00:00
drochner
f63f021442 add another wlan adapter 2005-07-04 17:42:39 +00:00
elad
4e11de6548 Further correct handling of `inpath'.
The path in the policy is not normalized, and shouldn't be. We accept
only an absolute path, possibly with one trailing slash. Make note of
that in the manpage.
2005-07-04 16:32:30 +00:00
drochner
e224b50008 some autoconf cleanup fallout, leftover of last week, mostly from
Havard Eidnes
2005-07-04 15:18:17 +00:00
pooka
5b4bcc52c2 Adapt conf for PXA2X0 split to PXA250 and PXA270. 2005-07-04 14:10:23 +00:00
martti
253c8a14af Added support for amr. Tested by Joseph A. Dacuma with Dell PowerEdge 2800. 2005-07-04 13:43:45 +00:00
augustss
002fc8d619 Add a list of the supported ATI chips. 2005-07-04 13:01:54 +00:00
blymn
dadd214d32 Reverse renaming of variable (pd_ents -> pdes) since the clashing
declaration in pmap.h was not used so it was removed from there.
2005-07-04 12:06:14 +00:00
blymn
177ce69567 Remove bogus external declaration for pdes, it appears not to be needed. 2005-07-04 11:50:17 +00:00
he
6114f16a00 Use "${INSTALL} -c" instead of "cp". This makes it possible to install
the bootloader code in a "make release" with UPDATE turned on.  Otherwise
we get "permission denied" errors because the target is mode 444.
2005-07-04 08:17:00 +00:00
augustss
3cadf15c43 Uncomment ehci. It works fairly well now. 2005-07-04 05:57:02 +00:00
augustss
b9c28e0fc4 Regen. 2005-07-04 05:55:26 +00:00
augustss
1f2a8d34c4 Correct product id for the Hank Connection device. 2005-07-04 05:55:05 +00:00
dyoung
458bd292c0 Our bus_space_{read,write}_4 routines convert from host to bus
byte-order, but FreeBSD's does not.  ath(4) expects the FreeBSD
convention.  Meet ath(4)'s expectations, use
bus_space_{read,write}_stream_4, instead.

Now, the HAL seems to work on macppc.
2005-07-04 05:35:09 +00:00
dyoung
eaadb988fd #define AH_REGOPS_FUNC 1 to match athhal-powerpc-be-eabi.opt_ah.h. 2005-07-04 05:32:16 +00:00
bsh
5775b1bc3e Reduce 1K bytes of code size by gathering calls to panic into one
subroutine.
2005-07-04 02:03:27 +00:00
augustss
dd0aaa93b5 The SB400 SATA controllers seem to work fine for me with this driver. 2005-07-04 01:20:37 +00:00
bsh
be2e0be463 adapt to changes for PXA270 support. 2005-07-04 00:47:49 +00:00
bsh
c48d9c757e option CPU_XSCALE_PXA2X0 is now obsoleted by CPU_XSCALE_PXA2[57]0. 2005-07-04 00:46:04 +00:00