Commit Graph

77756 Commits

Author SHA1 Message Date
yamt 6dadccf7c5 ufs_balloc_range: correct range to clear PG_RDONLY.
fix a panic in ubc_fault.
2005-09-14 10:33:25 +00:00
tron b03866ace9 Add 10 Gigabit Ethernet drivers dge(4) and xge(4). 2005-09-14 08:22:24 +00:00
martin 3e94fd1a1c Ignore KBD_IDLE one layer earlier - wskbd does not like it [and complains
in DEBUG kernels], and we already ignored it for raw mode.
2005-09-14 07:32:43 +00:00
christos ff66f5797e need linux_syscallargs.h to compile, and remove inline function. 2005-09-13 22:08:21 +00:00
christos afffbeb330 split compat_16 functions to their own file and make this compile again. 2005-09-13 22:07:47 +00:00
yamt 6fbf5bf6f1 wrap swap related code by #ifdef VMSWAP. always #define VMSWAP for now. 2005-09-13 22:00:05 +00:00
jmmv 2ddaf8b92b Nodes cannot use the '0' identifier or they will be skipped by readdir.
E.g., the root node's '.' and '..' directory entries did not appear in
a directory list, because the root node always holds the first id.
2005-09-13 21:30:52 +00:00
jmmv 5f4b660e4e Adapt recent changes to the style of the rest of the file. 2005-09-13 20:02:05 +00:00
yamt 873763ea0f uao_put: recognize endoff == 0 as "to the end of the object",
as VOP_PUTPAGES (thus vnode pager) does.  for tmpfs.
2005-09-13 19:54:09 +00:00
christos c83d281198 Forgot to reverse the conditional test. 2005-09-13 16:35:24 +00:00
yamt 647aa77538 - don't waste/leak kva.
- implement getpages/putpages.  support mmap.
- eliminate meaningless memcpy.
- ubcify.
2005-09-13 14:29:18 +00:00
yamt a7ca1cc6ef tmpfs_read: return EISDIR rather than EINVAL for non-VREG files.
XXX should we follow nfs, which uses EPERM?
2005-09-13 14:27:29 +00:00
yamt 1873c5428a tmpfs_link: always free pnbuf. 2005-09-13 12:11:27 +00:00
martin 30895fa9a4 The entity passed to the HAL as a HAL_BUS_HANDLE needs to be an integral
or pointer type. So on sparc64 (and maybe others too?) where
bus_space_handle_t is a struct, pass the address of the bus_space_handle_t
and adjust the register access functions accordingly.

While there, slightly optimize the bus_space_* usage in the register
access functions and macros.
2005-09-13 05:50:29 +00:00
christos ebc4ea57cf redefine panic if we are a user program. 2005-09-13 04:40:42 +00:00
christos 3544d898ac split out lfs_itimes(). It is used in fsck_lfs. 2005-09-13 04:13:25 +00:00
christos d3949dc269 compat reorg. 2005-09-13 03:23:34 +00:00
christos 58b392c018 make this compile again. 2005-09-13 03:23:09 +00:00
christos 6acf4b5ca8 add compat netbsd32 context. 2005-09-13 03:22:54 +00:00
christos b6ec0ee911 extract compat netbsd32 gunk. 2005-09-13 03:22:32 +00:00
christos 238c109f03 move compat code to the compat tree. 2005-09-13 01:45:14 +00:00
christos ba2a95bba7 compat code reorg. Other archs will need similar changes... 2005-09-13 01:43:29 +00:00
christos 063b880cf0 compat code reorg. 2005-09-13 01:42:32 +00:00
christos 49110e63f0 Range checks are not optional. The omission of this one, allows the user
to corrupt the heap and/or crash the kernel (Christer Oeberg).
2005-09-12 22:17:49 +00:00
christos 6a2a989266 variable name mistake again. 2005-09-12 22:16:56 +00:00
skrll 81eeab7ea5 Fix spello. 2005-09-12 21:15:04 +00:00
skrll 180eb637a5 Use the correct length parameter when capturing rx packets. 2005-09-12 21:11:11 +00:00
christos d9f67be7fe - Avoid overflow by checking the count argument (Christer Oeberg).
- While I am here, don't leak fds either.
2005-09-12 20:54:38 +00:00
christos 49840169c0 Add another KASSERT. 2005-09-12 20:26:44 +00:00
christos c93a283e5f - access the ffs and ext2fs itimes functions through a pointer, so that
if the filesystem is not compiled in the kernel still links. Probably
  a better solution is to use weak symbols.
- move the filesystem-specific itime macros to the filesystem header files.
2005-09-12 20:23:03 +00:00
christos 30b59dc1e8 Add a KASSERT like the one ffs has. 2005-09-12 20:21:18 +00:00
drochner 9cde940a73 move the new ffs_itimes() to a berr place -- ffs_subr.c is shared with
userland
2005-09-12 20:09:59 +00:00
yamt db9ffe1576 - don't keep a reference to a variable on stack.
- remove a meaningless assumption about the order of structure members.
2005-09-12 19:56:58 +00:00
yamt ffb84f0f1b fix lock/unlock mismatch. XXX this is not a real fix. 2005-09-12 19:55:22 +00:00
christos b9c29c4def convert to use it nanotime, but don't call it unless it is necessary. 2005-09-12 16:55:01 +00:00
christos 54705baa2e wrong variable name. 2005-09-12 16:54:35 +00:00
christos c7d2653a66 use nanotime(). 2005-09-12 16:44:29 +00:00
christos 370f05b81d don't play with ctime directly anymore. 2005-09-12 16:43:38 +00:00
christos 1114655b16 Fix the CHANGE part too. 2005-09-12 16:42:09 +00:00
christos ce573378a6 propagate itime changes from the other filesystems. 2005-09-12 16:37:13 +00:00
bouyer 241368ab96 Check that m_copyback() didn't fail. Pointed out by YAMAMOTO Takashi. 2005-09-12 16:30:46 +00:00
christos a12024da06 Use nanotime() to update the time fields in filesystems. Convert the code
from macros to real functions. Original patch and review from chuq.
Note: ext2fs only keeps seconds in the on-disk inode, and msdosfs does not
have enough precision for all fields, so this is not very useful for those
two.
2005-09-12 16:24:41 +00:00
christos 291ee3d215 Introduced nanotime() which is going to be used by some fs code yet to
be committed. This should really be an MD routine and microtime should
be implemented from it, not the opposite (which is what we have now).
2005-09-12 16:21:31 +00:00
rpaulo ffd7544c80 Add missing '$' in __RCSID(). 2005-09-12 16:10:11 +00:00
rpaulo f2b738e568 In ufs_extattr_start(), unlock uepm_lock when bailing out.
Ok'd Jason Thorpe.
2005-09-12 16:09:06 +00:00
tsutsui a369ae7ab2 Add esiop at pci, which just works. 2005-09-12 15:36:19 +00:00
yamt 55dd3a28d4 remove no longer used macros. 2005-09-12 12:41:06 +00:00
yamt 8dcf8ba6e2 xennet_start: don't allocate cluster mbufs unless needed. 2005-09-12 12:40:43 +00:00
macallan fc1aa8099e add a blank line before case WSDISPLAYIO_LINEBYTES 2005-09-12 12:07:47 +00:00
macallan 0841377bbd add ioctl(WSDISPLAYIO_LINEBYTES) - needed by XFree's wsfb 2005-09-12 11:02:21 +00:00
jmmv 7164c6807f Remove tmpfs from here, as it doesn't have a Makefile (dunno if it is
needed, yet).  Pointed out by FUKAUMI Naoki in private mail.
2005-09-12 09:11:20 +00:00
xtraeme db1dafba87 Fix from OpenBSD:
rev 1.56:

Don't initialize the card (and start an autonegotiation!) every time
the IP address changes. Makes 'dhclient sk0' invocations way faster
and more consistant. i.e. one DHCPREQUEST elicts the DHCPACK.

Fix from FreeBSD:

rev 1.109:

Solve "No PHY found" problem for more Yukon Lite variants.

These changes fixed the problem on my sk(4) trying to get an IP
via dhclient(8).
2005-09-11 23:49:39 +00:00
he dc4ed2e4cb Patterned after next68k, omit inclusion of <sys/device.h> if we
are not in _KERNEL.  This should work around our lint problems
related to "unspecified-size array at end of struct" constructs.
2005-09-11 23:15:18 +00:00
augustss f4ceb83917 Regen. 2005-09-11 22:53:49 +00:00
augustss 947778dffe Add Apple's Mighty Mouse. 2005-09-11 22:53:07 +00:00
seb cf017dd18f Replace plain 255 by MAXTTL. 2005-09-11 22:15:19 +00:00
christos 8c1f164eb6 Allow the multicast_ttl and the multicast_loop options to be set with both
u_char and u_int option variables. Original patch from seb.
2005-09-11 21:57:24 +00:00
macallan 6a34aa32a0 Shuffle thermal sensor numbering so temp0 is always the on-chip sensor and temp1
is always CPU temperature.
2005-09-11 20:26:15 +00:00
rpaulo 9c8a38bb3b Wrap a multiple line comment so that it doesn't go beyond 80 columns. 2005-09-11 20:19:31 +00:00
elad a894866511 Implement curtain for procfs. 2005-09-11 20:15:53 +00:00
xtraeme 0cbb812de5 Add sysctl options for the syncer:
vfs.sync.delay: max time to delay syncing data
vfs.sync.filedelay: time to delay syncing files
vfs.sync.dirdelay: time to delay syncing directories
vfs.sync.metadelay: time to delay syncing metadata

Note that using a value of 0 is allowed, but it's not
recommended.
2005-09-11 17:55:56 +00:00
christos 74051a244a PR/27185: Christian Biere: kqueue: EOF on pipe gains no EVFILT_READ event
Set the PIPE_EOF flag before we wakeup() our peer. While here GC unused
argument from pipeselwakeup() and call it even when fp == NULL.
2005-09-11 17:55:26 +00:00
elad 45b120e04b Lint warnings. 2005-09-11 16:11:22 +00:00
chs c36910e9cd remove the part of rev. 1.168 that skips TLB invalidations in pmap_enter().
it's wrong for wired mappings.  fixes PR 29804.
2005-09-11 14:30:31 +00:00
chs 0840b7949f in spec_ioctl(), don't dereference v_specinfo if it's NULL.
this is needed due to rev. 1.231 of kern/vfs_subr.c, which now sets
v_specinfo to NULL before changing the vnode's ops vector.
2005-09-11 14:18:54 +00:00
chs 355ecfe43b fix typo. 2005-09-11 13:42:40 +00:00
bouyer 4f6680c241 Use MCLGET() instead of local list of buffers. Garbage-collect
struct xennet_txbuf usage.
2005-09-11 13:20:00 +00:00
bouyer acad751169 Remplace MEXTMALLOC/memcpy with m_copyback. 2005-09-11 11:44:52 +00:00
jmmv 8e0a777ab1 wiz@ remembers that the preferred way to spell file-system in NetBSD is
file system.
2005-09-10 22:28:57 +00:00
cube 644b990fb1 Regen (DiskOnChip 0x0012). 2005-09-10 19:24:36 +00:00
jmmv ec93365612 Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).
2005-09-10 19:20:48 +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
christos 7b1ec62c27 Make fileno calculations use ino_t variables. 2005-09-10 18:35:56 +00:00
bouyer b069bb656c The line number in the PCI interrupt register can be larger than 31 on
some hardware, depending on how Xen set things up. So bump NR_PIRQ from 32
to 256.
2005-09-10 18:24:35 +00:00
bouyer b75ba03dd4 Add a vm_prot_t parameter to pmap_remap_pages(), and use it for the new PTE
instead to always trying PG_RW and falling back to PG_RO if this fails.
Use uvm_map_checkprot() in IOCTL_PRIVCMD_MMAP and IOCTL_PRIVCMD_MMAP_BATCH
to compute the appropriate vm_prot_t for pmap_remap_pages().
Thanks to Jed Davis for pointing out uvm_map_checkprot().
2005-09-10 18:00:49 +00:00
christos a4b3d5864b PR/23773: Tero Kivinen: Cannot mount msdos filesystems if filesystem size >
128GB
PR/31287: Fabien Devaux: msdosfs now can mount >128MB filesystems
2005-09-10 17:33:45 +00:00
tsutsui f6ced662a1 Replace a magic number with proper macro. 2005-09-10 17:19:55 +00:00
bouyer ba9c8cd0c3 Apply patch from Jed Davis, posted to port-xen:
Implement IOCTL_PRIVCMD_MMAPBATCH, as a loop calling pmap_remap_pages().
XXX this should do the MMU operations in batch.
2005-09-10 15:48:10 +00:00
bouyer 8dfe5bc813 Apply patch from Jed Davis, posted to port-xen:
In pmap_remap_pages() new mappings are created (PG_RW|PG_M). When saving
a domain, the hypervisor will refuse to map the foreing pages RW.
As a temporary measure, retry the mapping read-only if PG_RW fails, so that
domain save will work. Also fix the PTP's wire_count if the MMU update
fails (prevent a kernel panic).
2005-09-10 15:46:04 +00:00
bouyer 7558bd0a7c Fix typo reported by Jed Davis on port-xen:
IOCTL_PRIVCMD_GET_MACH2PHYS_START_MFN is a read, not a write.
2005-09-10 15:41:54 +00:00
dsl b92fde2f23 Remove KERNFS, it was only used to implement dmesg - the binary is smaller! 2005-09-10 14:53:34 +00:00
itohy 861ded3cb2 Make it compile for gcc 2.95. 2005-09-10 10:39:39 +00:00
kiyohara e13c2b8b41 Add configuration file for 'PCMCIA adapter BOX' supported kernel. 2005-09-10 04:34:39 +00:00
uwe 45626bf3d9 ANSIfy. 2005-09-10 02:22:33 +00:00
uwe 8f3c0c67f1 Hanlde NMI on microSPARC-IIep.
We don't do much useful except reporting, but that's better than to
stupidly use sun4m handler and wedge the machine.  May need to revisit
what's fatal.

Prodding by macallan@
2005-09-10 01:27:54 +00:00
uwe 531fd682f7 Add definitions for microSPARC-IIep memory fault registers. 2005-09-10 01:23:19 +00:00
uwe 5820e018a3 Add bitmask string for system interrupt pending register. 2005-09-10 01:01:40 +00:00
uwe 3355ba0044 u_intN_t -> uintN_t 2005-09-10 00:44:08 +00:00
tsutsui 60528befec Link ip2xboot as OMAGIC by -N option for ld(1) as well as ip3xboot.
Tested by sekiya.
2005-09-09 17:27:18 +00:00
drochner 727527c99b remove "dev" locators from cardbus device definitions, it doesn't
make sense technically and might be removed
2005-09-09 16:26:19 +00:00
christos 03d7777e5c PR/25658: Steve Woodford: Default value of net.inet.ipsec.dfbit breaks PMTU
over IPsec tunnels.
I have changed the default to 2 [copy]. I've verified that this works with
all my IPSEC setups, and this change has also been discussed in tech-net.
2005-09-09 15:38:05 +00:00
yamt d8798fec66 - for pagecache dependency, track which page in the block
has been written or not individually by (ab)using b_resid
  in pcbp as a bitmap.
- add a comment to explain why it's needed.

PR/15364.  reviewed by Chuck Silvers.
2005-09-09 15:04:07 +00:00
yamt 5b4c989faf revert the code to expand putpage requests to block boundary.
because:
	- it was incomplete in some cases.
	- it can confuse pagedaemon.
see PR/15364 for details.
2005-09-09 15:00:39 +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
rpaulo 2855760133 Enable WSDISPLAY_SCROLLSUPPORT by default. 2005-09-09 13:43:39 +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
tsutsui 5b3a55a74a This file no longer has "#if defined(MIPS3_4100)" so remove
"XXX MIPS3_4100 is still special" comment.
(though some other files still have "special" code which should go away)
2005-09-08 15:19:58 +00:00
tsutsui e17fe7c64d Initilize CP0 pagemask register properly.
Fixes PR 30590 and some other mips port.
2005-09-08 15:17:23 +00:00
tsutsui 95d5cf1493 Add mips3_cp0_pg_mask_write() to initialize pagemask register. 2005-09-08 15:13:23 +00:00
tsutsui bd2843f4ab Add definitions of Vr41xx specific pagemask values.
It supports 1k-256kbytes/page.
2005-09-08 15:11:43 +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
drochner 241cff4694 make use of the locator information: print "?" if a locator is
at its default value, and accept "?" in the "change" command
2005-09-08 14:58:14 +00:00
christos a531e09eeb Revert incomplete (and possibly incorrect) sys_sa_preempt implementation
that I committed accidentally with the 64 bit inode changes.
2005-09-07 23:31:06 +00:00
drochner 14071aa79e fix an obvious mistake where the original instruction
is restored after a simulated single-step,
also use VM_PROT_ALL to get maximal permission for patching
instructions instead of VM_PROT_DEFAULT whose semantics
are not that defined
2005-09-07 20:28:08 +00:00
drochner caf67252d3 sync with next68k: include <sys/devive.h> explicitely because this is the
documented header for "evcnt" stuff
(should be separated, later)
2005-09-07 19:58:12 +00:00
drochner 8311fb86aa namespace sanity: don't expose compatibility sigcontext stuff
unnecessarily
2005-09-07 19:42:51 +00:00
drochner 41f06eac8c include machine/intr.h only in the _KERNEL case, as
most other ports do.
(In the -KERNEL case, it is needed because the spl*()
stuff ought to be pulled in by <sys/param.h> per the
manpages.)
This saves some namespace headaches.
2005-09-07 19:39:51 +00:00
drochner 9e7bc072c7 namespace sanity: kill includes which are not
used directly
2005-09-07 19:35:37 +00:00
drochner 0ffd1b3340 include <sys/devive.h> explicitely because this is the
documented header for "evcnt" stuff
(should be separated, later)
2005-09-07 19:33:20 +00:00
elad d1e2d78dee Use ``l'' and not ``curlwp''. Thanks to Peter Postma for catching this. 2005-09-07 18:06:04 +00:00
elad 348574574d Implement curtain for AF_INET{,6} PCB lists. 2005-09-07 17:58:13 +00:00
elad fb3e9eee95 Implement curtain for AF_LOCAL PCB lists. 2005-09-07 17:38:44 +00:00
elad bc433a82fb Implement curtain in KERN_{PROC,PROC2,FILE,FILE2,PROC_ARGS}.
While I'm here, disable curtain by default.
2005-09-07 17:30:07 +00:00
elad 31681c214e Should check if curtain is enabled before doing the user-id check. 2005-09-07 17:27:55 +00:00
elad ec14f2d11e Introduce ``security.curtain'', new node for security features and
settings, and new variable for controlling access to objects based
on user-id.
2005-09-07 16:26:15 +00:00
elad 15b43e830c Introduce CURTAIN(user_id, object_id) - a macro that essentially checks
if user_id is either 0 or equals to object_id. We don't always have a
struct ucred to use, so we need this at the very basic level.
2005-09-07 15:11:54 +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
christos ad2ddf6d2d Revert previous accidental removal of -DINET6 2005-09-06 23:27:33 +00:00
christos 12184b6c26 Revert inappropriate -D additions. 2005-09-06 23:25:54 +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
aymeric f4cc8f97e3 make the "tags" target work again by using the common trick of splitting some
of the arguments to ctags using echo start-of-xxx | xargs ctags rest-of-xxx
2005-09-06 21:57:47 +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
kleink 1020316c01 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 instance of that check.
2005-09-06 20:24:01 +00:00
kleink e2cef34883 signed -> __signed 2005-09-06 19:18:23 +00:00
tsarna da085b10b3 Allow reception of VLAN sized frames. From FreeBSD.
Reviewed by cube.
2005-09-06 15:42:21 +00:00
simonb b665007462 Include <sys/systm.h>; needed for printf() and strcmp() in the
non-DEBUG case.
2005-09-06 12:22:43 +00:00
jmmv 86e1067af8 Set va_type to VLNK before calling VOP_SYMLINK to match the change in the
vfs_syscalls.c file.  Pointed out by yamt@.
2005-09-06 09:36:28 +00:00
rpaulo 67a0c36218 Correct SYSCTL_DESCR for tcp.debx. 2005-09-06 02:57:04 +00:00
rpaulo 49cb186c8e Implement the net.ns.spp sysctl subtree with only two children:
net.ns.spp.debug and net.ns.spp.debx. They will be used by trsp(8).
2005-09-06 02:52:38 +00:00
rpaulo 4ea601be16 Rename the 'wakeup' variable to 'reaswakeup' so that it doesn't colide
with the wakeup() function defined in sys/proc.h.
2005-09-06 02:44:55 +00:00
rpaulo 37cbe61e67 Implement tcp.inet{,6}.tcp{,6}.(debug|debx) when TCP_DEBUG is set. They
can be used to ``transliterate protocol trace'' like trpt(8) does.
2005-09-06 02:41:14 +00:00
rpaulo f305bcafe3 Implement kern.hardclock_ticks. 2005-09-06 02:36:17 +00:00
dogcow 12c72179ee after discussion with dyoung, add rtw* at cardbus 2005-09-06 02:03:52 +00:00
dogcow 4ec2f95af9 make rtw.c compile again after the 22-jun-05 net80211 import 2005-09-06 01:59:26 +00:00
rpaulo f8bcc940fb Wrap two big lines. 2005-09-06 01:05:38 +00:00
riz 1ea801e91a Fix typo in comment from previous revision. 2005-09-05 22:55:31 +00:00
yamt af9e3184f8 prevent sa_setconcurrency before sa_enable, rather than crashing.
(savp_lwp is still null at that point.)

noted by skrueger at meinberlikomm.de.
2005-09-05 21:52:38 +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 7463900213 Reorder. 2005-09-05 19:05:20 +00:00