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
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
rpaulo
dc5a3ff210
Use ANSI function declarations everywhere and a consistent indentation on
...
them.
2005-09-05 18:32:24 +00:00
dyoung
4cbe1276a3
Add a CHANGES file with a summary of source changes between FreeBSD
...
imports on 2005-05-18 and on 2005-07-11.
2005-09-04 21:20:18 +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
uwe
88fc0ed1ac
Since we have ipf/pf in the config (commented out), add pertinent
...
options as well (commented out too).
2005-09-04 16:07:46 +00:00
kiyohara
db37c957e1
Support the 'PCMCIA adapter BOX' for OpenBlockS266.
2005-09-04 15:23:55 +00:00
shige
044ec00fc2
Support LED-control via sysctl (on=1/off=0).
...
Sysctl name: hw.obsled.led{1,2,4}.
Submitted by kiyohara.
2005-09-04 12:20:15 +00:00
isaki
100f9bce03
typo in comment. (since 1994?!)
2005-09-04 10:41:36 +00:00
isaki
7da7168234
typo in comment.
2005-09-04 10:40:51 +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
kiyohara
e8ae1a1119
Support 'PCMCIA adapter BOX' for OpenBlockS266.
2005-09-04 07:24:57 +00:00
skrll
d465bfe236
Re-organise a bit to reduce diff to FreeBSD.
2005-09-04 06:58:20 +00:00
uwe
13830db076
Tell hpcfb that framebuffer fetches 16-bit pixels as little endian.
2005-09-04 01:01:29 +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
martin
6dd6a3eb59
In adjust_rights() Use CMSG_SPACE() to calculate the number of
...
filedescriptors passed in this message - the counterpart in
unp_externalize does this as well.
Note that CMSG_SPACE(0) does not make sense, since it does not invoke
the alignment magic - so use CMSG_SPACE(sizeof(int)) and adjust the
calculated total later.
This fixes the postfix conection cache for 64bit platforms. Previously
the number of passed filed descriptors (nfds) would have been
calculeted too high, causing the fdrelease() of uninitialized junk.
2005-09-03 22:48:35 +00:00
dsl
d802408333
Remove support for ATAPI and SCSI tapes from INSTALL and INSTALL_TINY.
...
This (just about) counteracts the bloat added by the 64bit inode changes
and the the larger data structures of the new ioconf.c.
The 'st' driver got fingered itself because of it's own size increase
caused by the addition of the stats.
2005-09-03 20:38:07 +00:00
martin
f435538d40
minor knf tweak
2005-09-03 19:44:20 +00:00
kleink
c69ab4901b
udp4_espinudp(): don't assume that the Non-ESP marker (or UDP payload)
...
is aligned on a 64-bit boundary.
2005-09-03 18:01:07 +00:00
rillig
aede7f6775
Made the code of the grsortu function smaller and simpler. Ok'ed by
...
christos.
2005-09-02 20:51:53 +00:00
rpaulo
6459ccf2df
Add freebsd_sysctl.c
2005-09-02 14:34:53 +00:00
rpaulo
257017665e
Add a SYSCTL_SETUP_PROTO() so that it compiles fine in the lkm.
2005-09-02 14:34:00 +00:00
elad
b0e6e3b381
Sync comments with 64-bit inode changes.
2005-09-02 14:16:50 +00:00
rpaulo
5530080d86
Add freebsd_sched.c
2005-09-02 13:34:46 +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
christos
7791a8f18b
Also protect the ipsec ioctls from negative offsets to prevent panics
...
in m_copydata(). Pointed out by Karl Janmar. Move the negative offset
check from kernfs_xread() to kernfs_read().
2005-09-01 06:25:26 +00:00
yamt
74be61b2e6
remove one of duplicated forward decl. of vmspace. pointed by Dheeraj S.
2005-09-01 02:21:12 +00:00
yamt
2cebed8c78
don't include uvm_extern.h twice.
2005-09-01 02:19:40 +00:00
yamt
c6b465a33e
revert rev.1.99 as it is no longer necessary.
2005-09-01 02:18:19 +00:00
yamt
b34f62d5e9
put back uvm_fault.h for now as it's needed for some ports.
2005-09-01 02:16:46 +00:00
he
eb89cd94e9
Now that <ufs/ufsmount.h> includes <ufs/extattr.h>, we also need
...
<sys/vnode.h> and <sys/vnode_if.h> to bring the definition of struct
vop_getextattr_args into scope. Fixes build problem for arc.
2005-08-31 16:01:56 +00:00
he
2a3f4bfe4a
This one needs "pseudo-device md 1". Patch taken from PR evbppc/31097.
...
Fixes build problem.
2005-08-31 15:23:06 +00:00
christos
218f69d99f
Don't allow negative offsets when reading the message buffer, because it
...
can allow reading arbitrary kernel memory.
2005-08-31 09:54:54 +00:00
he
0bd65b04de
Now that uvm_extern.h no longer includes uvm_fault.h, we need to include
...
the latter explicitly.
2005-08-31 07:07:29 +00:00
martin
ebe6c135ee
Fix bogus uninitialized variable warning ifdef PPPOE_SERVER.
...
Noticed by Marcin Jessa on current-users.
2005-08-31 00:00:26 +00:00
xtraeme
323d4b7a78
oops, fix previous.
2005-08-30 22:27:16 +00:00
xtraeme
535b5fed29
* Remove __P()
...
* Use ANSI function declarations
2005-08-30 22:24:11 +00:00
xtraeme
23ebf62d26
* Remove __P()
...
* Use ANSI function declarations on ext2fs and mfs
2005-08-30 22:01:12 +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
xtraeme
af97f2e875
Remove __P()
2005-08-30 20:08:01 +00:00
xtraeme
85d3711504
Remove an extra ')'
2005-08-30 19:15:11 +00:00
xtraeme
37ed0ed9df
Remove __P()
2005-08-30 19:11:43 +00:00
xtraeme
08fcacf4ed
Remove __P()
2005-08-30 19:01:29 +00:00
xtraeme
85be4ce6e8
Remove __P()
2005-08-30 18:47:19 +00:00
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