Commit Graph

19319 Commits

Author SHA1 Message Date
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