Commit Graph

77558 Commits

Author SHA1 Message Date
jmmv b077bb7f72 Honor the user's umask while creating local sockets. Several other systems
do already this (such as FreeBSD, OpenBSD and Linux), so it will improve
portability of some third-party programs.  No objections in tech-kern@.
2005-08-30 15:03:04 +00:00
jmmv 0562a5484c Make all creation operations (mkdir, create, mknod and symlink) consistent
by changing the symlink one to set vap's vatype to VLNK.  All the other three
already set vatype to the correct type.  Note that, however, in the mkdir
case (and now symlink too) this is not strictly necessary.
2005-08-30 09:37:41 +00:00
xtraeme 47216f8470 Remove __P() 2005-08-29 23:57:35 +00:00
xtraeme 529eaccb6b The maximum file size on MS-DOS filesystems is 4 GB - 1 byte, so
don't bother trying to write files bigger than this.  Just return
EFBIG to caller, rather than panic()ing later.

From OpenBSD.

This closes my PR kern/30864: "panic when copying files of >4GB on msdosfs"
2005-08-29 23:22:05 +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 a45a6c9839 in mapply(), call config_match() instead duplicating its code 2005-08-29 19:13:48 +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
rpaulo 3bb81503bf Implement net.inet6.raw6.stats sysctl.
Reviewed by Elad Efrat.
2005-08-28 21:04:09 +00:00
rpaulo 5872b8775c Implement net.inet6.pim6.stats sysctl.
Reviewed by Elad Efrat.
2005-08-28 21:03:18 +00:00
rpaulo 3995141ceb Implement net.inet6.ip6.stats sysctl.
Reviewed by Elad Efrat.
2005-08-28 21:01:53 +00:00
rpaulo 151760f5d2 Implement net.inet6.udp6.stats.
Reviewed by Elad Efrat.
2005-08-28 21:01:02 +00:00
reinoud f4a3f04cb2 Create functions ioctl_copyin() and ioctl_copyout(). They are meant to be
used in ioctl routines to do the right thing when the FKIOCTL flag is
passed to the IOCTL routine indicating its a in-kernel VOP_IOCTL call and
indirect addresses provided in the arguments are to be seen as kernel
adresses rather than userland adresses.

A simple substitution and prepending of the `flags' passed on to the ioctl
handler is enough to DTRT.
2005-08-28 20:58:14 +00:00
thorpej e1afed9c2d Experimental support for extended attributes on UFS1 file systems, using a
backing file per attribute type indexed by inode number to hold the extended
attributes.

This is working pretty well on my test systems, except for the "autostart"
feature.  I need someone with a better handle on the VFS locking protocol
to go over that.

This is a work-in-progress.  There are parts of this that could be re-factored
allowing this approach to be used on other types of file systems.

Adapted from FreeBSD.
2005-08-28 19:37:58 +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
yamt 9020ca379a protect p_nrlwps by sched_lock. no objection on tech-kern@. PR/29652. 2005-08-28 14:57:18 +00:00
tsutsui 912e6b6757 options<space><tab> 2005-08-28 13:23:22 +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 2f6bd96c17 coda inodes are still 32 bits. Don't use ino_t in coda_open_out. 2005-08-28 08:57:45 +00:00
christos f9364a8936 Fix logic error in vndiocget. 2005-08-28 08:56:14 +00:00
uwe b2023157bb Add WSDISPLAY_CUSTOM_OUTPUT &co. 2005-08-28 00:28:41 +00:00
yamt be5d1db4a4 don't include uvm_fault.h unnecessarily. 2005-08-27 16:11:32 +00:00
skrll d308c43536 Be explicit about which cards to setup .11a rates for.
hi matt.
2005-08-27 07:26:47 +00:00
elad 65688974fe Add missing '!' in comment. 2005-08-26 22:53:56 +00:00
drochner f557755d9f nuke locdesc_t from orbit 2005-08-26 14:20:40 +00:00
drochner 44bf0a7ee2 s/locdesc_t/int/g 2005-08-26 13:19:34 +00:00
drochner 46ed4b50c4 s/locdesc_t/int/g 2005-08-26 12:42:11 +00:00
drochner 1f9cf5d3b7 kill some more simple submatch() functions, use config_stdsubmatch() 2005-08-26 11:49:13 +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 90c378642f now that we have information about default locator values
we can implement an universal submatch() function covering all
the standard cases:
if (<configured> != <wildcard> && <configured> != <real>)
	then fail
else
	ask device match function
2005-08-25 22:17:19 +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
drochner 726f5e9afa remove unneeded syy/device.h include 2005-08-25 15:58:38 +00:00
drochner 9ab0a3e02e struct cfdata doesn't have locnames anymore 2005-08-25 15:08:06 +00:00
drochner 6036af9fc4 Replace the "locnames", attached to cfdata, which was solely good for
userconf, by more complete information (including default values) about
interface attributes, attached to the drivers which provide them.
2005-08-25 15:06:28 +00:00
he e4496714db Make these first-stage boot loaders use a locally-defined ino32_t
instead of introducing 64-bit operations in these space-constrained
pieces of code with the recent change to ino_t. This is patterned
slightly after recent changes to libsa's ufs.c.

Approved by christos.
2005-08-25 14:31:07 +00:00
uebayasi e6760038b8 Redo previous; don't add mcount.po to POBJS when MKPROFILE=no. 2005-08-25 08:55:42 +00:00
uebayasi bab482f18d Create mcount.po only when MKPROFILE != no. 2005-08-25 08:34:50 +00:00
jdc f283678f15 Fix cut and paste error in UK keymap. 2005-08-25 06:55:03 +00:00
shige 9b836df716 Enable dmphy, bridge. 2005-08-24 19:54:50 +00:00
simonb fbcb9c4760 Fix a tyop in a comment. 2005-08-24 16:00:54 +00:00
nakayama d8c6d7b24e statvfs(2) returns bogus result from union mounted file systems with
`-r' option, since it uses uninitialized buffer in the case of no
lower-layer file system.

So, add M_ZERO to malloc(9) flags to initialize the buffer.
2005-08-24 15:21:28 +00:00
yamt 4c32aa5945 PRId64 -> ld in UVMHIST_LOG format strings. 2005-08-24 10:19:43 +00:00
christos 05f86f0175 PR/31054: mrt at notwork dot org: struct stat broken on LP64 with
!defined(_NETBSD_SOURCE).
Fixed as suggested.
2005-08-24 10:13:09 +00:00
christos 34772d5e9b PR/31051: Kousaku Nakahara: can't find the device from Macintosh through
AppleTalk(Netatalk) in the network including a seed router
Byte order problem, fixed as suggested.
2005-08-24 06:06:51 +00:00
elad 7bdf56d9b6 Remove stuff inside #if 0, remove __P macro usage, add helper routines
prototypes inside #ifndef _KERNEL.
2005-08-23 16:23:50 +00:00
yamt d5c3f1e190 ufs_readdir: don't leak kernel garbage to userland. 2005-08-23 12:27:47 +00:00
yamt 3f2c6f0661 ufs_readdir: when computing the maximum number of entries,
use _DIRENT_RECLEN(cdp, 1) instead of "4".
2005-08-23 12:27:16 +00:00
christos 0b0eb1328b Don't overload MAXNAMLEN, use a separate constant for each filesystem type. 2005-08-23 08:05:13 +00:00
christos 62ea392e41 in setgroups(), sort -u the gid_t array to make sure that comparisons are
consistent.
2005-08-23 07:58:58 +00:00
jonathan 2632a233ba No change. Forced commit to record commit message for previous revision, viz:
Fix vulnerability to a denial-of-service attack which passes a
length-0 crypto op. Check for zero length and return EINVAL, taken from:

    http://cvsweb.FreeBSD.org/src/sys/opencrypto/cryptodev.c.diff?r1=1.25&r2=1.26

Original FreeBSD log mesage:

  Modified files:
    sys/opencrypto       cryptodev.c
  Log:
  Fix bogus check. It was possible to panic the kernel by giving 0 length.
  This is actually a local DoS, as every user can use /dev/crypto if there
  is crypto hardware in the system and cryptodev.ko is loaded (or compiled
  into the kernel).

  Reported by:    Mike Tancsa <mike@sentex.net>


thanks to Sam Leffler for passing on a heads-up about this issue.
2005-08-22 23:11:47 +00:00
jonathan 867a03c37c *** empty log message *** 2005-08-22 23:06:34 +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
elad 935cb376b9 Make this usable both in kernel and userland. 2005-08-22 15:33:08 +00:00
rillig 20f0c3a484 Bugfix: In crcmp, compare n group IDs instead of only n bytes.
Added a big FIXME because two group lists containing the same entries,
but ordered differently, still compare as unequal. The same holds if one
group list contains an entry twice while the other does not. ok'ed by
christos.
2005-08-22 15:10:50 +00:00
bouyer f60ca60293 Rename _PRIVATE_BUS_DMAMEM_ALLOC_RANGE to _BUS_DMAMEM_ALLOC_RANGE for
consistency with other macros defined in bus_private.h. Pointed out by
YAMAMOTO Takashi.
2005-08-22 11:09:39 +00:00
bouyer e6a6daf84f Fix a memory leak. Thanks to YAMAMOTO Takashi for the notice. 2005-08-22 11:04:10 +00:00
he 54e6da6105 Change from using sys___{,f,l}stat13() to sys___{,f,l}stat30() and
associated data structures, following the change to 64-bit inodes.
2005-08-22 10:57:04 +00:00
yamt 84c9e5bbc1 whitespace. 2005-08-22 09:08:17 +00:00
christos b0e192f2b6 change ino_t to u_int32_t for syscall compatibility. 2005-08-22 08:53:03 +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
chs 760cf823a4 copy some settings from ../boot/Makefile.boot that let us try to load
64-bit kernels on amd64.
2005-08-21 23:04:30 +00:00
chs fe611fb346 add "consdev" from ../boot.
make "quit" work like it does in ../boot
(ie. let us try again with a bootloader from a different device).
2005-08-21 23:02:34 +00:00
bouyer d342a7617e Define a xendevbus atttibute and add it to hypervisor. Use it for xen devices
which attach to hypervisor. This allows to use config_found_ia() instead of
config_found(), instead of relying on the order of which device are
written in ioconf.c.
From Quentin Garnier.
2005-08-21 22:20:28 +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
yamt 6788570f66 xen_parse_cmdline:
- use BOOT_FLAG macro.
- allow RB_KDB because it works fine, depending on type of console.
2005-08-21 13:15:43 +00:00
yamt ebfab35576 old_sysctl: fix null dereference when oldlenp == NULL. 2005-08-21 13:14:54 +00:00
yamt 0ed4057082 linux_machdepioctl: remove duplicated FILE_USE/UNUSE. 2005-08-21 13:13:50 +00:00
yamt 1a3bee2634 - count if_opackets correctly.
- reflect tx errors to if_oerrors.
2005-08-21 13:12:59 +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
dyoung 51f2ebb45a In ieee80211_mbuf_adjust, cope with read-only mbufs: make the
802.11 header + opt(crypto header) + LLC writable, regardless of
crypto state.  If s/w crypto is enabled, still make the entire
chain writable, as before.

Reviewed by: Nick Hudson
2005-08-21 00:07:57 +00:00
abs 2ea92d2f7a Support booting from ffsv2 filesystems - thanks Simon Burge 2005-08-20 20:15:57 +00:00
abs 60d651f649 Include the ffsv2 filesystem ops. Necessary but not sufficient for booting
from an FFSv2 filesystem. Similar change tested on NetBSD-3
2005-08-20 20:09:25 +00:00
bouyer cd1cc7810a Also properly check the alignement and boundary constraints. 2005-08-20 20:06:24 +00:00
bouyer 0944c0fa9d Deal with the machine address space being non-contigous in bus_dmamem_alloc():
- Define _BUS_AVAIL_END to 0xffffffff, as we don't have an easy way to
  find the upper bound for our machine address space (and this can change
  when we swap pages with the hypervisor).
- implement _xen_bus_dmamem_alloc_range(), which will request a contigous
  set of pages to the hypervisor if the pages returned by uvm_pglistalloc()
  don't fit the constraints.
We can't deal with the low/high constraints yet, because Xen doesn't offer a
way to get pages in a specific ranges of addresses.

Based on patches from Dave Thompson (in private mail), with heavy hacking
by me.
2005-08-20 19:30:37 +00:00
bouyer 54ecd3d8a1 Implement xpq_queue_machphys_update(), which queues a request to
update the machine to physical table (to be used after a
MEMOP_increase_reservation).
2005-08-20 19:20:54 +00:00
bouyer 7ce7159ca0 More adjustements to deal with Xen's physical <=> machine addresses mappings:
- Allow _bus_dmamem_alloc_range to be provided from external source:
  Use a _PRIVATE_BUS_DMAMEM_ALLOC_RANGE macro, defined to
  _bus_dmamem_alloc_range by default.
- avail_end is the end of the physical address range. Define a macro
 _BUS_AVAIL_END (defined by default to avail_end) and use it instead.
2005-08-20 19:18:11 +00:00
tsutsui 54713c08ec Count jazzio timer interrupts by evcnt(9). 2005-08-20 17:58:49 +00:00
elad 4bbe952358 Install sha2.h to /usr/include/crypto. 2005-08-20 15:42:03 +00:00
kent 868a42c866 fix a compilation problem on NetBSD/amd64 2005-08-20 15:02:36 +00:00
kleink e6c7296450 Add __{BEGIN,END}_DECLS wrapping. 2005-08-20 14:54:06 +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
yamt 6f645a09cb introduce a variant of disk_attach/detach, for pseudo disks
which is opened by user before being attached.
2005-08-20 12:00:01 +00:00
tsutsui 1d47271b63 options<space><tab> 2005-08-20 03:42:01 +00:00
rpaulo b81a06d8eb Correct typo in comments found by Roland Illig. 2005-08-19 20:24:33 +00:00
skrll ddf730e9d9 Fix RCSID. 2005-08-19 19:45:43 +00:00
bouyer 41b1abf49b Provide a PCI_MACHDEP_ENUMERATE_BUS to the MI pci system. We can't use
the generic pci_enumerate_bus() in Xen because the hypervisor may
hide the function 0, but give access to other functions of the same device
and pci_enumerate_bus() will stop if function 0 isn't available.
2005-08-19 17:17:53 +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
bouyer fa7d49200e Make PCI devices usable for non-domain0 kernels. Based on patches sent by
Ceri Storey to port-xen, with some additionnal changes by me:
- include bus_dma.c, bus_space.c and pci_machdep.c if pci is defined
  instead of dom0ops
- Make various initialisations, and probe/attach pci busses based on NPCI
  instead of DOM0OPS
- in conf/files.xen, move xen-specific devices before non-xen specific devices
  so that the xen-specific match function is called first, to avoid false
  attachement from too liberal match function in non-xen code.
2005-08-19 16:06:12 +00:00
skrll 74929b7809 Add shutdown and power hooks. 2005-08-19 14:26:38 +00:00
yamt e4ab81774d compat_30_sys_getdents: netbsd 1.2 -> 3.0 in comments/messages. 2005-08-19 13:17:37 +00:00
yamt 34dab5e58c compat_30_sys_getdents: don't leak kernel stack garbage to userland. 2005-08-19 13:16:56 +00:00
yamt b247716cf3 as we now have 64bit ino_t, no need to truncate nfsv3 fileids. 2005-08-19 12:47:23 +00:00
christos 8679451cd3 bump us to 3.99.8 (for 64 bit inode changes). Noted by Bernd Ernesti 2005-08-19 12:31:41 +00:00
elad 5f794fb20d Introduce veriexec_renamechk().
Rename policy:
  - Strict levels 0, 1: Log renames of monitored files.
  - Strict level 2: Prevent renames of monitored files.
  - Strict level 3: Prevent renames.
2005-08-19 12:30:02 +00:00
christos 2368c3b779 make ICMPPRINTFS work; from Liam Foy. 2005-08-19 12:29:18 +00:00
christos 5e6a1c8476 fileid is now a quad. 2005-08-19 12:24:54 +00:00
yamt 437ecc32b5 fix some simple bugs in the 64bit ino_t changes.
- edp -> dp
- * -> +
2005-08-19 10:08:48 +00:00
skrll c6f82057ed More sync with the FreeBSD driver. 2005-08-19 08:50:06 +00:00
christos 4ce7529a64 change a hard-coded 0xf to _DIRENT_ALIGN (thanks yamt) 2005-08-19 06:01:00 +00:00
christos 23e602002f now that we've changed the _DIRENT_ALIGN macro, provide a d_fileno for struct
direct
2005-08-19 05:28:48 +00:00
christos 93c362d7ef Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels 2005-08-19 05:19:49 +00:00
christos 0701377073 Change the alignment of dirent from 0xf to 0x7 for the new dirent structure.
Also simplify the logic (thanks yamt)
2005-08-19 05:06:14 +00:00
christos 2ebf2b2fc3 namlen is u_int16_t now. 2005-08-19 04:47:55 +00:00
christos b02ca699ef Add an _ to DIRENT_SIZE 2005-08-19 04:45:47 +00:00
christos b041fac92d Fix lossage I created with the 64 bit ino_t change. 2005-08-19 04:24:38 +00:00
christos 103542d3d7 fix a printf arg. 2005-08-19 04:15:02 +00:00
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