Commit Graph

77333 Commits

Author SHA1 Message Date
christos
50f8955b6e 64 bit inode changes. 2005-08-19 02:04:03 +00:00
christos
d2d5cc4265 Better debugging info on failure 2005-08-19 02:04:02 +00:00
christos
758a209d23 64 bit inode changes. 2005-08-19 02:03:49 +00:00
nathanw
9808119fea Call VOP_UNLOCK() in the case where VND_COMPRESSION isn't defined and
we're about to return EOPNOTSUPP. Prevents a "locking against myself"
panic in vn_close() in the error return path.

Addresses PR# kern/30958
2005-08-18 22:06:25 +00:00
perry
4851927311 change a tab to a space tab in front of UFS_DIRHASH 2005-08-18 15:57:00 +00:00
tron
d66d9a8e3b Remove write-only variable "derived" in esp_cbc_encrypt(). 2005-08-18 07:54:09 +00:00
skrll
e25c26acb6 Don't need to declare m_append twice. 2005-08-18 06:07:30 +00:00
yamt
2e85eff671 - introduce M_MOVE_PKTHDR and use it where appropriate.
intended to be mostly API compatible with openbsd/freebsd.
- remove a glue #define in netipsec/ipsec_osdep.h.
2005-08-18 00:30:58 +00:00
tacha
379d19f599 make CF on pcmcia works again.
Approved by bouyer.
closed kern/30998.
2005-08-17 22:41:33 +00:00
matt
1ec9bd7cbd Add NetBSD checksum notes. 2005-08-17 17:24:31 +00:00
drochner
545e137964 make the packets fed to BPF reflect reality better:
-fill in the 802.11 "duration" before
-use the intended channel (still not perfect because this is not
 necessarily the hardware setting, but better than before)

while this doesn't make the driver work for me, it kills some
red herrings which I've just wasted time for
2005-08-16 19:35:17 +00:00
christos
055740c706 PR/31000: FUKAUMI Naoki: 2 bugs in ral driver:
- remove driver-private key allocators; use the default one instead
  so wpa keys are handled properly (if_ral.c, if_ural.c rev 1.9)

- remove local mods that snuck into rev 1.6 (if_ral.c rev 1.10)
2005-08-16 17:02:34 +00:00
nonaka
0ec1cb9383 Initialize CONTROL1 registers. 2005-08-16 16:33:50 +00:00
nonaka
02d0ebb277 Added SH7751{,R} integrated PCI controller support. 2005-08-16 11:32:26 +00:00
nonaka
f4372b7c37 Added RICOH RS5C372[AB] Real Time Clock. 2005-08-16 11:09:12 +00:00
dyoung
c617298659 Fix previous patch for non-crypto operation: test for a NULL key
before testing the key flags.

XXX Problems remain.  Nick Hudson points out my questionable
XXX M_COPY_PKTHDR usage.  Also, it seems to me that we may not be
XXX protected against writing a read-only mbuf during the crypto
XXX encapsulation stage, even if hardware does the actual crypto.
2005-08-16 02:12:58 +00:00
dyoung
4b5bbb7a00 Don't build sta_disassoc or sta_deauth if IEEE80211_NO_HOSTAP is
defined.  Avoids "declared static but not used" warnings.
2005-08-15 23:37:10 +00:00
skrll
3900777496 If we're going to s/w encrypt the mbuf chain make sure it is writable.
Fixes wep on iwi(4).
2005-08-15 21:33:26 +00:00
christos
aef258e0aa PR/30995: Wada Keiji: pcmcia interface can't use ne2000 compatible card
Call pcmcia_socket_settype sooner. I removed the later call, so the submitter
should test the final code before I close the PR.
2005-08-15 18:58:24 +00:00
christos
cec76c2408 PR/30992: KIYOHARA Takashi: Tulip needs memory mapping on the netwinder. 2005-08-15 18:51:33 +00:00
augustss
1040158900 Add some Roland devices. From kern/30986, DHOYASHIKI Shinichi. 2005-08-14 21:08:45 +00:00
augustss
a9d739dee8 Regen. 2005-08-14 21:08:40 +00:00
he
79220f0c2a Fix one more missed clockframe -> irqframe transition. 2005-08-14 21:08:32 +00:00
augustss
4bfce4ac26 Add some Roland devices. From kern/30986, DHOYASHIKI Shinichi. 2005-08-14 21:08:18 +00:00
uwe
271a46653f Constify. Make (the only) submatch function static.
Prettify some comments.
2005-08-14 19:38:21 +00:00
he
1aaad1fbee Follow up the type change of i80200_extirq_dispatch which now takes
an irqframe* and not a clockframe* as argument.
2005-08-14 19:23:17 +00:00
mrg
cdbefcff7b match isp as a PCI device called "SUNW,isptwo". from Eric Benoit. 2005-08-14 19:12:02 +00:00
macallan
ff06d987cb add a prom patch that creates a device node for the Krups' audio chip
in case it's missing ( like with OF 3.11.10 ) - makes audiocs at ebus work
on these machines.
2005-08-14 16:05:56 +00:00
joff
e52bd93601 The configuration used for the NetBSD/toaster demo by
the NetBSD booth during LinuxWorld Expo 2005.
2005-08-14 04:35:45 +00:00
joff
6463cb5191 Since we disabled the LCD and matrix keypads in the default kernel, supply
this configuration which has them both enabled.
2005-08-14 04:34:41 +00:00
joff
c8bc480520 add toastersensors device 2005-08-14 04:33:49 +00:00
joff
389660b05a Add attachments for the 4 possible configurations of the TS-DIO24 on the
PC104 bus.  Also, comment out the tslcd and tskp drivers by default.  Enabling them
prohibits end-user use of the GPIO and LCD headers for other things.
2005-08-14 04:30:08 +00:00
joff
1b548227c4 Toaster inputs (burnlevel potentiometer, toast down sensor) and
matrix keypad/wskbd attachment glue for polling/debouncing
the 5 front-panel buttons.
2005-08-14 04:18:30 +00:00
joff
ad50acb4b6 Add toaster, tsdio, toasterlcd devices 2005-08-14 04:15:44 +00:00
joff
d4bc23d662 wsdisplay device driver for the 4x40 text-mode LCD on the NetBSD/toaster 2005-08-14 04:15:18 +00:00
joff
bb813453e2 Device driver that exposes the burner element, magnetic latch, and front-panel
LEDs of the TS-7200 NetBSD/toaster via sysctl.
2005-08-14 04:14:35 +00:00
joff
43b39c1131 Simple driver for Technologic Systems TS-DIO24 PC104 board. No
userland interface (yet), basically just can detect a TS-DIO24 on a ISA
bus and provide an attachment for sub-devices.

The TS-DIO24 contains 24 programmable digital input/outputs.
2005-08-14 03:50:34 +00:00
joff
f0e1f44063 Fix argument mismatch (clockframe * vs. irqframe *) in ep93xx_intr_dispatch() that
has been causing compile failures.
2005-08-14 03:10:16 +00:00
joff
02b3ec89cf SSP locations needs to be defined since tspld device uses it to talk to the
TS-7200 temperature sensor.  While here, add some more GPIO registers too.
2005-08-14 03:07:30 +00:00
joff
27727f52ec Add magic i/o location for the MAX197 ADC 2005-08-14 03:05:00 +00:00
joff
120d51244b Support for the TS-7200's optional TMP124 temperature sensor via sysctl 2005-08-14 03:03:48 +00:00
joff
6157478f8c hd44780 layer for register reads/writes now takes another argument. 2005-08-14 02:59:52 +00:00
joff
92e361f3ad hd44780 porting layer for readreg/writereg now takes an extra "enable" argument. 2005-08-14 02:58:40 +00:00
joff
02e79f9fb1 4-line HD44780 LCD display support. Work needed for the NetBSD toaster port.
The HD44780 actually doesn't support 4 lines, but the 4 line displays
use two chips, one for the top two lines and one for the bottom
two lines.  The chips share the databus, register-select, and write
signals but have separate enable signals.
2005-08-14 02:56:06 +00:00
martin
e446808533 Back out the "it is not completely clear" part of revision 1.37 - it
effectively swapped RTS and DTR, apparently on all versions of the chip.
This fixes PR kern/30685.
2005-08-13 21:50:45 +00:00
jmcneill
7027a58033 Support more than 7 buttons for USB mice. Patch from kern/30248 2005-08-13 14:55:39 +00:00
elad
1ea04d9351 Oops. Put back braces... 2005-08-13 13:06:35 +00:00
elad
c62f8b0f18 The veriexec API uses dev_t and ino_t for device and inode numbers.
VOP_GETATTR() fills a struct vattr, where va_fsid and va_fileid (device
and inode..) are typed as long.

Add some casts when using these values and surround them with XXXs about
the potential size mismatch, as long can be 64 bits but dev_t and ino_t
are always 32 bits. This is safe because *for now* we're still using
32 bit inode numbers.

Discussed with blymn@.
2005-08-13 12:56:44 +00:00
elad
79b2f66712 Fix printing formats.
- size_t is %zu
  - dev_t is uint32_t is %u
  - long is %ld
2005-08-13 12:08:34 +00:00
blymn
110bb51ae7 Split out stats attach code ready for shifting
Add sysctl hooks here for the time being.
2005-08-13 10:50:50 +00:00