cube
644b990fb1
Regen (DiskOnChip 0x0012).
2005-09-10 19:24:36 +00:00
tsutsui
35f4830ff9
The length member in struct scsi_request_sense is uint8_t so
...
no need to swap byteorder.
Whele here, change style of some byteswap ops from
foo = bar();
foo = ahc_htole32(foo);
to
foo = ahc_htole32(bar());
XXX: I leave ahc_htole32() usage for union ins_formats for now
XXX: though it may be better to use byte-shift ops rather than byteswap.
2005-09-10 19:15:44 +00:00
cube
555baacb2d
Add a DiskOnKey revision.
2005-09-10 19:08:33 +00:00
tsutsui
f6ced662a1
Replace a magic number with proper macro.
2005-09-10 17:19:55 +00:00
drochner
1af44f3c6e
remove the useless (always 0) device number from cardbus driver state,
...
autoconf attach structures and configuration cycle functions
(just leave the kernel configuration attribute for now to avoid breaking
config(1) files)
2005-09-09 14:50:58 +00:00
drochner
1fbab2d81a
make this compile again (shadow and const warnings)
...
I doubt this serves any useful purpose.
2005-09-09 13:48:10 +00:00
ragge
1e85211578
Note xge addition.
2005-09-09 13:45:41 +00:00
drochner
fd6c232a7a
Allow a NULL pointer as argument to usb_get_next_event(), and don't
...
allocate a "struct usb_event" on stack in usb_add_event().
This gives just enough breathing space that the box doesn't die
immediately from stack overflow when I insert a
ohci0 at cardbus0 dev 0 function 0: Acer Labs M5237 USB 1.1 Host Controller
2005-09-09 12:04:30 +00:00
ragge
0217dc7934
Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
...
Still missing: VLAN + IPv6 checksum support.
2005-09-09 10:30:27 +00:00
christos
ac3f544e6d
fix compilation with debugging on.
2005-09-08 18:41:50 +00:00
christos
e4efddfa8b
PR/31130: FUKAUMI Naoki: Fix vge(4) SIOC{ADD,DEL}MULTI handling
2005-09-08 18:18:10 +00:00
drochner
1797f37c06
fix parsing of some informational CIS tuples: correct length and handle
...
the case correctly where a string is terminated with 0x00 0xff
2005-09-08 15:02:48 +00:00
dogcow
52dfe86ca8
With the assistance of dyoung, fix the following problems:
...
* some 8180L cards need a longer time for the srom to initialize; patch
suggested via OpenBSD.
* some cards give '0' for USA, some give '3'; for the meantime, accept both
as being USA locale cards.
* this is RTW, not ATW. :)
2005-09-07 05:25:41 +00:00
dogcow
e9e04d00b0
add SiS id 0x0457
2005-09-07 01:34:19 +00:00
reinoud
04d00c8e39
Cleanup and fix cd_size() function; it was returning wrong results.
...
Also factor out read_cd_capacity()
2005-09-06 22:19:14 +00:00
kleink
aece7a90fd
Change the driver open function's conditional for overriding exclusive tty
...
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
2005-09-06 21:40:37 +00:00
kleink
6fa3ab87b7
Change the driver open function's conditional for overriding exclusive tty
...
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
Also, dispose of a redundant (and unreachable) instance of that check.
2005-09-06 21:36:54 +00:00
kleink
bdfc943920
Change the driver open function's conditional for overriding exclusive tty
...
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
Also change this to use the proc argument instead of curproc.
2005-09-06 20:46:38 +00:00
tsarna
da085b10b3
Allow reception of VLAN sized frames. From FreeBSD.
...
Reviewed by cube.
2005-09-06 15:42:21 +00:00
dogcow
4ec2f95af9
make rtw.c compile again after the 22-jun-05 net80211 import
2005-09-06 01:59:26 +00:00
riz
1ea801e91a
Fix typo in comment from previous revision.
2005-09-05 22:55:31 +00:00
reinoud
d462489ea5
Implement DIOCCACHESYNC for SCSI/ATAPI cd/mmc recordable devices found by
...
scsipi/cd.c by issueing the SYNCHRONISE CACHES scsi/atapi call as defined
per MMC standard.
2005-09-05 21:16:24 +00:00
bouyer
9c2d1acf94
Use a pmatch(9) expression which should catch all present and future
...
seagate drives larger than 200GB for the WD_QUIRK_FORCE_LBA48 quirks.
Based on infos from
http://www.seagate.com/support/kb/disc/howto/interpret_model.html
2005-09-05 21:09:08 +00:00
bouyer
f0a1379350
Add quirk for ST3200826A. From rudolf (netbsd at eq.cz) on tech-kern.
2005-09-05 20:42:37 +00:00
kiyohara
d0bc61f001
Add j6x0lcd.
2005-09-05 18:58:29 +00:00
kiyohara
17587c6104
Support LCD screen driver for PERSONA SH3 machines.
2005-09-05 18:54:10 +00:00
tron
d8dc729287
Regen.
2005-09-04 19:44:09 +00:00
tron
30e04c8382
Add PCI ids for ATI Radeon 9600 LE.
2005-09-04 19:42:26 +00:00
kleink
95ca674ab9
Make COM_DEBUG compile again in the wake of -Wwrite-strings;
...
from Nicolas Joly in PR kern/31141.
2005-09-04 09:48:53 +00:00
skrll
d465bfe236
Re-organise a bit to reduce diff to FreeBSD.
2005-09-04 06:58:20 +00:00
uwe
81bf6b30a3
For HPCFB_CLASS_RGBCOLOR class propagate r/g/b widths and positions
...
from hf_rgb to rasops_info.
2005-09-04 00:54:42 +00:00
uwe
46f38c7fc9
We don't need <sys/bswap.h> here.
2005-09-03 22:55:55 +00:00
skrll
299aad0068
Complete the attach message - there is nothing interesting to report.
...
Remove some debug stuff.
2005-09-01 18:10:20 +00:00
skrll
3a28b8e5de
Let the net80211 layer handle the transition to INIT as well.
...
Testing by salo and me suggests that PR 31010 is fixed.
2005-08-30 21:18:47 +00:00
skrll
95c40e1648
Disestablish the power and shutdown hooks when detaching.
2005-08-30 21:14:29 +00:00
skrll
acd9563ce6
KNF (and reduced diff to FreeBSD)
2005-08-30 21:05:47 +00:00
bouyer
3f34a9f7b6
In __wdccommand_start(), don't cann wdcwait() with ata_c->flags, as this gives
...
information about the context in which wdc_exec_command() was called, but
we may be in interrupt context here. Call wdcwait() with flags derived from
xfer->c_flags instead, as do other wdcwait() callers.
Should fix kern/31083 by Jukka Salmi.
2005-08-29 19:30:07 +00:00
drochner
f8a97e785b
remove the interface attribute (defining the "channel" locator) from
...
all the XXXide mutants -- this is handled by the "ata" attribute already
2005-08-29 19:11:33 +00:00
bouyer
02f20190a2
wd->atabus->ata_bio() should handle the multi-sector PIO transfers just fine,
...
and in a better way than what is done in wddump() (which also does it
for DMA transfers, limiting the dump speed significantly). So remove
code splitting transfers in wd->sc_multi chunks from wddump(), and call
wd->atabus->ata_bio() with the whole transfers.
Problem reported by Frank Kardel, and patch tested by him.
2005-08-29 19:05:54 +00:00
kiyohara
79d0fb55e5
Remove '#if defined(cobalt)'.
2005-08-29 17:20:31 +00:00
reinoud
b28d0c5529
Document executed SCSI commands with the IOCTL's to prevent confusion.
2005-08-28 22:51:01 +00:00
thorpej
3876130b24
Remove unused and incorrect macro BGE_HOSTADDR().
2005-08-28 19:24:57 +00:00
kiyohara
05f9545b7a
Fix misstake regen.
2005-08-28 15:39:12 +00:00
kiyohara
4fc12adbbd
regen.
2005-08-28 15:01:09 +00:00
kiyohara
3e7c870116
Add DAVICOM DM9102.
2005-08-28 14:59:34 +00:00
tsutsui
ee0931f86c
TAB/space cosmetics.
2005-08-28 13:08:16 +00:00
augustss
407c604a0e
Minor cosmetic change.
2005-08-28 12:10:37 +00:00
christos
f9364a8936
Fix logic error in vndiocget.
2005-08-28 08:56:14 +00:00
skrll
d308c43536
Be explicit about which cards to setup .11a rates for.
...
hi matt.
2005-08-27 07:26:47 +00:00
drochner
46ed4b50c4
s/locdesc_t/int/g
2005-08-26 12:42:11 +00:00
drochner
49a3609892
kill some more simple submatch() functions, use config_stdsubmatch()
2005-08-26 11:20:33 +00:00
drochner
49126e9efe
use XXXCF_NLOCS constants instead of magic numbers
2005-08-26 11:01:42 +00:00
drochner
096c3e1d2c
kill some more simple submatch() functions, use config_stdsubmatch()
2005-08-26 10:13:05 +00:00
briggs
8826927f06
ST3300831A also needs WD_QUIRK_FORCE_LBA48.
2005-08-26 00:09:03 +00:00
drochner
e6a178f21f
kill a number of autoconf submatch functions which follow the
...
standard scheme:
if (<configured> != <wildcard> && <configured> != <real>)
then fail
else
ask device match function
This is handled by config_stdsubmatch() now.
2005-08-25 22:33:18 +00:00
drochner
ea5766898f
oops, too much mechanical renaming -- clearly separate searched and
...
found locators
2005-08-25 20:52:02 +00:00
bouyer
6f6f287c39
Add a comment explaining why we have WD_QUIRK_FORCE_LBA48, instead of always
...
using LBA48 for sector 0xffffff.
2005-08-25 19:06:35 +00:00
drochner
fa3cb84d62
replace the "locdesc_t" structure carrying the number of locators
...
explicitely by a plain integer array
the length in now known to all relevant parties, so this avoids
duplication of information, and we can allocate that thing in
drivers without hacks
2005-08-25 18:35:38 +00:00
jdc
f283678f15
Fix cut and paste error in UK keymap.
2005-08-25 06:55:03 +00:00
gavan
84c672e259
Add quirk for BGE_CHIPID_BCM5751_A1. From Kurt Schreiner <ks at ub.uni-mainz
...
dot de> via PR kern/31028.
2005-08-22 18:18:25 +00:00
rpaulo
061ff0e0af
Use #ifdef AUICH_DEBUG instead of #if 0/#if 1. Suggested by perry@.
2005-08-22 01:15:12 +00:00
rpaulo
f8799a3e8f
PR#31030: debug printf in auich_halt_pipe. From lmneto@gmail.com.
...
It was under #if 1, so I just replaced the if by 0.
2005-08-21 23:57:32 +00:00
chs
d6e0b5fcb6
regen
2005-08-21 23:19:04 +00:00
chs
edd620cbec
add nvidia devices found on an ASUS K8N-DL motherboard,
...
plus various other cards.
2005-08-21 23:18:40 +00:00
gavan
0216bccfb3
Recognise Broadcom 5751M Gigabit Ethernet, as found on ThinkPad T43p.
2005-08-21 21:32:26 +00:00
gavan
19269ca4c1
regen
2005-08-21 21:21:48 +00:00
gavan
756529f056
Add BCM5751M
2005-08-21 21:20:20 +00:00
dyoung
0ca62afd93
Remove redundant ath_tsf_extend subroutine. Use ath_extend_tsf,
...
instead. This reduces diffs with FreeBSD as a side-effect.
2005-08-21 00:25:51 +00:00
yamt
5cb036f6e3
add wedge support to xbd and cgd.
2005-08-20 12:03:52 +00:00
yamt
bc505ef8dd
use pseudo_disk_{init,attach,detach} where appropriate.
2005-08-20 12:01:04 +00:00
bouyer
90dd891d17
We can't free struct ahc_softc on NetBSD either, because it comes from
...
config(9). Fix a corruption on alldevs list when an ahc device fails to
initialise.
2005-08-19 17:08:59 +00:00
christos
b33f6da979
more 64 bit inode lossage.
2005-08-19 16:58:29 +00:00
skrll
74929b7809
Add shutdown and power hooks.
2005-08-19 14:26:38 +00:00
skrll
c6f82057ed
More sync with the FreeBSD driver.
2005-08-19 08:50:06 +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
tacha
379d19f599
make CF on pcmcia works again.
...
Approved by bouyer.
closed kern/30998.
2005-08-17 22:41:33 +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
f4372b7c37
Added RICOH RS5C372[AB] Real Time Clock.
2005-08-16 11:09:12 +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
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
augustss
4bfce4ac26
Add some Roland devices. From kern/30986, DHOYASHIKI Shinichi.
2005-08-14 21:08:18 +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
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
junyoung
b0c452fd1f
Make microcode loading work on big endian machines.
...
Reported and patch supplied by yongari@freebsd a long time ago.
2005-08-12 01:07:16 +00:00
macallan
d0c6868c13
added drivers for Analog Devices ADT7467 and ADM1030 thermal monitor / fan controller chips found in various Apple laptops and probably other machines.
2005-08-10 14:18:28 +00:00
bouyer
13f098d5de
Not add PIIX are wired to compat mode these days. Problem reported and fix
...
tested by Havard Eidnes.
2005-08-10 13:23:38 +00:00
christos
c3766be38e
Allow setting the MAC address via wiconfig -m (Lord Isildur)
2005-08-10 13:20:42 +00:00