cube
16e20b37d6
Regen.
2005-07-09 22:40:34 +00:00
cube
57017881b4
Implement pselect(2) and pollts(2).
2005-07-09 22:40:13 +00:00
cube
0056ee71b1
Make netbsd32_select() use selcommon() instead of a gross copy/paste of
...
the old sys_select() code.
2005-07-09 21:58:09 +00:00
christos
20dd96aff1
Don't drop fragments that are smalled than the ip header size. From skd
2005-07-09 14:51:11 +00:00
xtraeme
997ffdbad9
Move ipl.h into the ipfilter block, which is the right place.
2005-07-09 14:15:11 +00:00
christos
d39684a368
make the isdn drivers compile again with -Wconst, -Wshadow
2005-07-09 02:05:09 +00:00
thorpej
76fd10b45a
Move VFS extended attribute support to its own file.
2005-07-09 01:05:23 +00:00
cube
0d4567cd91
Regen.
2005-07-08 22:22:19 +00:00
cube
01f1f7ce7d
Add mlockall(2) and munlockall(2).
2005-07-08 22:21:43 +00:00
cube
e1c5d71d3d
Regen
2005-07-08 21:40:26 +00:00
cube
dfc332d6df
Implement the extattr(3) family of syscalls.
...
XXX However, those remain untested as there are currently no backend for
XXX extattr(9) in NetBSD.
2005-07-08 21:39:39 +00:00
thorpej
3429324371
Whitespace tweaks.
2005-07-08 16:13:32 +00:00
thorpej
99c4ea1319
- Use ANSI function decls.
...
- Liberally apply static.
2005-07-08 05:07:31 +00:00
tron
b7be5e481c
Defopt IPSEC_NAT_T.
2005-07-07 19:34:51 +00:00
thorpej
9beb4d2c61
Remove the __packed__ attribute from these structures. Everything is
...
naturally aligned anyway, and __packed__ just causes the compiler to
generate slower code.
2005-07-07 19:02:11 +00:00
thorpej
0be3d66be4
Apply const and static where appropriate.
2005-07-07 18:43:47 +00:00
drochner
a8dbed44ea
tighten the autoconf constraints by passing the atapi/ata/ata_hl attribute
...
to config_found()
(after some cleanup we might be able to kill SCSIPI_BUSTYPE_*)
2005-07-07 17:51:31 +00:00
drochner
4a286e2d41
-tighten the autoconf constraints by passing the atapi/scsi attribute
...
to config_found()
(after some cleanup we might be able to kill SCSIPI_BUSTYPE_*)
-remove scsipiprint() -- the parts which make it differ from
scsiprint()/atapiprint() were unreachable anyway
2005-07-07 17:27:37 +00:00
tron
04b9c3437f
Add (commented out) IPSEC_NAT_T option.
2005-07-07 17:05:46 +00:00
nonaka
ba180bf75f
Added EMODE cache operation.
2005-07-07 16:56:50 +00:00
tron
58b513c9f5
Defopt IPSEC_NAT_T.
2005-07-07 16:00:56 +00:00
christos
d9a0117f1e
Back to using curproc in the VLNK case when uiop->uio_procp == NULL,
...
and explain why we need to.
2005-07-07 14:26:37 +00:00
tron
17c8267bba
Fix typo which broke the build of kernels with support for 586 and
...
686 class CPUs.
2005-07-07 13:20:53 +00:00
christos
66e17a310f
add a missing const.
2005-07-07 12:57:03 +00:00
yamt
300f70f6e0
handle tx buffer exhaustion.
2005-07-07 12:01:25 +00:00
pooka
b0e100a5fc
match & attach Panasonic 50" Touch Panel
2005-07-07 09:59:37 +00:00
pooka
520b2cddab
regen for panasonic tp
2005-07-07 09:59:09 +00:00
pooka
1a814357c3
add panasonic 50" touch panel
2005-07-07 09:58:23 +00:00
christos
c7f5a1fb60
1. use p = uio->uio_procp consistently and eliminate suspicious uses
...
of curproc (where uio->uio_procp should be used?). Don't do this
for nfs_commit(), because yamt says it is possibly wrong.
2. nfs_doio() does not use struct proc; remove it and the code to compute it.
3. use copyin_proc() and copyout_proc() instead of copyin() and copyout().
4. check return of copyout_proc(). and mark return from copyin_proc() XXX
5. Eliminate check p == curproc assertion check from nfs_write;
nfs_read does not have it and we might be called in a different
process context anyway (PR 20138).
2005-07-07 02:05:03 +00:00
dyoung
0b81c10899
Cosmetic: use the idiom &ic->ic_nw_keys[0] instead of ic->ic_nw_keys,
...
just be a little more parallel to &ic->ic_nw_keys[IEEE80211_WEP_NKID]
on the same line.
2005-07-07 00:43:01 +00:00
dyoung
86283b24c9
Don't write WEP keys to the chip unless it is enabled.
...
Suspend and restart the transmit/receive engines while writing WEP
keys.
2005-07-07 00:12:22 +00:00
christos
ac0ee9b2c0
Allow F{G,S}OWN to succeed on a tty that has no session associated with it,
...
and it is not the controlling tty. This change allows us to use SIGIO on
a non-controlling tty (eg. debug ntpd with a refclock on a tty).
2005-07-07 00:01:32 +00:00
dyoung
83a9bf2c5c
Historically, an(4), ath(4), atw(4), rtw(4), and wi(4) have printed
...
out their modes and rates at boot. Revert to the historical
behavior.
2005-07-06 23:58:14 +00:00
dyoung
707b2b4ae1
Avoid an unnecessary API difference between NetBSD and FreeBSD:
...
back out my change to ieee80211_crypto_encap that made it free its
mbuf argument on error. I had thought it was a bug. It was not.
It's the drivers that are broken. Make an(4), atw(4), ipw(4),
iwi(4), ral(4), rtw(4), ural(4), and wi(4) free the mbuf when
ieee80211_crypto_encap returns NULL. Also, return ath(4) to the
way it was---i.e., free the mbuf.
Thanks to Sam Leffler to pointing out my mistake.
2005-07-06 23:44:15 +00:00
thorpej
f44b62c49d
Collect vmcmd statistics.
2005-07-06 23:08:57 +00:00
christos
de124326cb
Make copy{in,out}_proc work on all processes (including curproc) by
...
special-casing the curproc case. Use copy{in,out}_proc directly instead
of checking for curproc each time. Discussed with thorpej.
2005-07-06 22:30:42 +00:00
kleink
c6cc410a70
Addendum to previous: copyin_proc() must not be used on curproc.
2005-07-06 20:56:49 +00:00
kleink
e3c2a9c2f6
Use copyin_proc() to peek for trailing zeroes in sections, as we might be
...
running in a different context (i.e. a process tracing).
2005-07-06 20:31:33 +00:00
fair
97be9dc692
disable the use of TSC on Cyrix CPUs and document why:
...
When powersave mode is enabled, the TSC stops counting while the CPU is halted
in idle() waiting for an interrupt. This means we can't use the TSC for
interval time in microtime(9), and thus it is disabled here.
It still makes a perfectly good cycle counter for program profiling, so long
as you remember you're counting cycles, and not time. Further, if you don't
mind not using powersave mode, the TSC works just fine, so this should really
be optional. XXX
2005-07-06 20:29:16 +00:00
junyoung
6b3daf3992
Remove unused #define.
2005-07-06 19:31:04 +00:00
junyoung
d151b9e857
Remove unused #define and trailing spaces.
2005-07-06 19:29:50 +00:00
junyoung
a52d20370c
Remove unused #define.
2005-07-06 19:27:50 +00:00
junyoung
1fb48c245e
- Do not mix C-style comments and assembly-style comments.
...
- Remove unused #define.
2005-07-06 19:24:08 +00:00
thorpej
d697722880
A few tweaks to magic symlinks:
...
- Add a @{var} syntax in addition to @var. This allows for patterns like
@{ostype}-@{osrelease}-@{machine_arch}.
- Add a @emul variable that expands to the process's emulation name
(e.g. "netbsd", "netbsd32", "linux", etc.)
2005-07-06 18:53:00 +00:00
fair
c0ca9de9a9
move
...
microtime_func = cc_microtime;
to a point after the CPU-specific setup routine is called because some of them
"turn off" the TSC because it's broken on those platforms, or not suitable
for use as an interval timer.
One such platform is the Cyrix/NSC Geode processor; when powersave mode is
enabled, the "hlt" instruction stops the TSC too. It continues to be perfectly
reasonable for program profiling as a cycle counter in this mode, but it is
unsuitable for interval time keeping (time doesn't stop just because you're
asleep or napping), and, for now, we don't have a separate flag to make this
distinction - we just test for the presence of TSC to enable cc_microtime().
2005-07-06 18:35:39 +00:00
junyoung
4f4cb6f0b3
Add another case we can skip boot wait.
2005-07-06 18:12:31 +00:00
bouyer
a5bc956f51
Always allow open() on the raw partition to succeed, even if any of the
...
SCSI command in cdopen() fails. Fix PR kern/30288 by Pavel Cahyna.
2005-07-06 14:28:39 +00:00
macallan
b105560197
sysmon_* attributes for device tctrl
2005-07-06 12:16:35 +00:00
macallan
2e4b899a81
forgot the $NetBSD header
2005-07-06 11:42:53 +00:00
macallan
f4a919f68e
Add support for the TS102 PCMCIA controller found in SPARCbooks
2005-07-06 11:40:27 +00:00
macallan
d3e4755bf5
changed envsys support to use the sysmon API, added support for the power
...
button ( see powerd(8) )
2005-07-06 11:31:16 +00:00
junyoung
1b3dbc9530
If no hard disks are present, do not wait for key press.
2005-07-06 09:22:31 +00:00
junyoung
4a6d325623
De-__P()
2005-07-06 08:28:31 +00:00
junyoung
ddfd23b21c
BIOSDISK_EXT13INFO_V3 -> BIOSDISK_EXTINFO_V3
...
u_intNN_t -> uintNN_t
u_int -> unsigned int
Remove trailing spaces
2005-07-06 08:27:31 +00:00
dyoung
674e9b926b
Identify Alvarion Ltd. BreezeNET PC-DS.11b. Addresses kern/30231.
2005-07-06 07:16:00 +00:00
dyoung
b01131baed
Regen.
2005-07-06 07:06:29 +00:00
dyoung
b34605c1a7
Add Alvarion (vendor) and Alvarion Ltd. BreezeNET PC-DS.11b (product).
...
From PR kern/30231.
2005-07-06 07:05:25 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
bsh
c61364bf3e
The first step to support Intel PXA270.
...
kernel config option CPU_XSCALE_PXA2X0 is now obsoleted by
CPU_XSCALE_PXA250 and CPU_XSCALE_PXA270. If both of them are defined,
CPU is determined run-time.
2005-07-04 00:42:36 +00:00
bsh
c5dfef4764
add register definitions for PXA270, including those for USB host controller.
...
rename some constants from PXA2X0_* to PXA2[57]0_* since they have different values for PXA270.
2005-07-04 00:27:24 +00:00
cube
a31209bb48
Regen
2005-07-04 00:27:15 +00:00
cube
d500f440df
Implement uuidgen(2).
2005-07-04 00:26:06 +00:00
he
b50b7d812b
Make the bus_scan() prototype match the function declaration.
2005-07-03 23:13:11 +00:00
he
e831e8461d
Make the vidcsearch() prototype match the function declaration.
2005-07-03 23:09:03 +00:00
he
330b756048
Make the prototype declaration of maplesubmatch() match the function decl.
2005-07-03 23:06:51 +00:00
manu
771a32d331
Another NAT-T fix: don't check for port information in transport mode, as there
...
is no port information.
2005-07-03 22:57:09 +00:00
he
d9075d644b
We need to name parameters in function declaration...
2005-07-03 22:23:56 +00:00
he
e1ffd766c2
Make the bugscopen() function match it's prototype.
2005-07-03 22:22:50 +00:00
he
7a4c4764d9
Remove "bad" label no longer in use.
2005-07-03 22:21:10 +00:00
uwe
70d5ff6a8a
Make this file suitable for use in asm sources.
2005-07-03 22:18:32 +00:00
dyoung
8feed843ef
Restore ALTQ-classification to the AP-bridge, as pointed out by
...
Bernd Ernesti.
2005-07-03 21:18:42 +00:00
dyoung
fdf8c16f71
Refine an ieee80211_node-match using the SSID and the channel before
...
increasing the _node's beacon/probe count.
2005-07-03 21:10:27 +00:00