matt
3cb099121d
Add a RCSID macro for non _KERNEL use
2013-07-11 19:50:55 +00:00
aymeric
2c50b87899
In usbd_transfer(), abort the xfer if it is interrupted by a signal while in
...
progress.
This prevents that xfer from being freed while still on queue, and ensuing
panic().
2013-07-11 19:46:44 +00:00
reinoud
d9c51d931b
Resort to the easiest way to check if a directory is deleted: the flag that
...
tells that there is no FID (dirent) pointing to it anymore.
2013-07-11 19:41:19 +00:00
christos
c7ba776dbf
comment out the entries that are common with termios, and explain that they
...
need to keep the same values.
2013-07-11 19:17:57 +00:00
christos
8c7f9e3f04
make all constants that are used in unsigned variables unsigned.
2013-07-11 16:46:06 +00:00
reinoud
da86562477
Small cleanup
2013-07-11 15:43:12 +00:00
kiyohara
d70922cbfe
Add Castle SCSI16 board.
2013-07-11 13:44:50 +00:00
matt
f0b769f0ae
If using mdsetimage to install a ramdisk install, add the ramdisk to SYSTEM_DEP
...
so the kernel will be relinked and the new ramdisk installed.
2013-07-10 20:25:21 +00:00
reinoud
c689e7fed3
Remove the dirent checks and references. UDF doesn't need/use them on rename
...
so just to make sure, we remove all references/checks to not trigger bugs
thats are not really ours.
2013-07-10 19:14:07 +00:00
reinoud
70ad4376ce
Add udf_rename.c to the UDF module make
2013-07-10 19:07:20 +00:00
reinoud
5bf2bdc26b
Oops forgot the rump addition of udf_rename.c
2013-07-10 16:47:17 +00:00
reinoud
a7795a09e4
Implement udf_rename() using the new genfs_rename() framework.
...
Fixes PR kern/47986
2013-07-10 15:10:56 +00:00
matt
b89cdb0e53
Fix typo (pa instead of va).
2013-07-09 20:33:03 +00:00
martin
03c1f052c8
Make dubious code that skips a few interrupts hardcoded print a verbose
...
message asking the user to mail us details. This will also alarm us
should the strange test sometimes in the future trigger eroneously
on newer hardware.
2013-07-09 20:32:11 +00:00
pooka
5fcb2ebcb0
Fix pasto: BUILDRUMP_CPPFLAGS was used twice.
2013-07-09 17:49:37 +00:00
joerg
f48ee015ba
Don't depend on libz.a for the tools build, /usr/lib/libz.a might not
...
exist.
2013-07-09 13:10:55 +00:00
joerg
bd970e74fe
Fix format string.
2013-07-09 13:10:33 +00:00
mhitch
7e92c596b1
Changes from OpenBSD to OF_mapintr(). Adds support for PCIe. My Ultra 45
...
now can install from the CD, I can access USB flash drives, and the onboard
bge interfaces now work. Tested on some other machines by jdc.
2013-07-08 17:01:05 +00:00
reinoud
1cabaf0e68
Clarify the sticky-bit check
2013-07-08 08:21:12 +00:00
msaitoh
550f342e08
- Set the TX DMA segment size based on the MTU size.
...
- Change the TX ring size for 5717 series and 57764 series.
- For 57766, set BGE_RDMAMODE_JMB_2K_MMRR for non-jumbo frame.
Same as Linux tg3.
- For 57765 and newer devices, set BGE_MAX_RX_FRAME_LOWAT to 1.
This value is recommended by the document.
2013-07-08 05:36:23 +00:00
msaitoh
4e253d7893
57765 series is not based on 5717 series. 5717 series is based on 57765
...
series.
2013-07-08 05:24:34 +00:00
reinoud
a0054fd5a4
Pull forward the node creation returned from the lookup call. Its vnode is
...
used in the access determination on delete/rename of TXT files.
Thanks for joerg@ and clang for detecting this!
2013-07-07 20:16:22 +00:00
reinoud
eb513d5160
Implement a real empty-directory checking for rmdir().
...
Should should fix the other part of PR kern/47987
Solves tests/vfs/t_vnops udf_dir_notempty
2013-07-07 19:49:44 +00:00
reinoud
8fd5b25064
Extend generic dirhash to include an empty directory checker based on
...
the knowledge the dirhash has. This is done by keeping a count of the current
hash entries.
2013-07-07 19:31:26 +00:00
jakllsch
99fefbecd1
Use NULL instead of 0 when returning a NULL pointer.
...
Also, remedy minor whitespace issue.
2013-07-06 14:38:54 +00:00
gdt
36854f2e86
#endif comments
2013-07-06 12:11:54 +00:00
gdt
93707b9ab1
Add #endif comments.
2013-07-06 12:06:24 +00:00
gdt
f8e5069c8e
Add #endif comments (only).
2013-07-06 12:03:11 +00:00
reinoud
d2126d9622
Fixes chflags. They were silently rejected before but the VFS standard demands
...
it complains with EOPNOTSUPP.
Fixes chflags test case.
2013-07-05 20:40:20 +00:00
reinoud
16cc237e7c
Provide additional checks to udf_lookup and restructure it a bit.
...
Should fix PR 47988
2013-07-05 20:04:57 +00:00
msaitoh
00e7812afc
Fix a link detect bug on non-autopoll systems. Same as OpenBSD
...
(rev.1.329 and 1.336) and FreeBSD (r213710).
2013-07-05 07:08:26 +00:00
joerg
31ed74d31c
Set pc_intr_map only once.
2013-07-05 02:18:37 +00:00
joerg
3ce4c44911
Fix header guard.
2013-07-05 02:11:59 +00:00
joerg
58d90b3498
Don't use non-literal strings as format string.
2013-07-04 23:00:23 +00:00
joerg
0d9b68baf9
One const is good enough.
2013-07-04 22:59:58 +00:00
joerg
f6a98ac11b
When trying to write into page 0, use volatile to force the compiler to
...
actually create this access.
2013-07-04 22:59:27 +00:00
joerg
53e1bee525
Add helper script for future imports.
2013-07-04 22:12:40 +00:00
joerg
b9829059e8
Initial import of a cut-down copy of compiler-rt revision r185671.
2013-07-04 22:09:47 +00:00
pooka
734710d913
Use kqueue on *BSD, not just NetBSD.
2013-07-04 17:46:14 +00:00
pooka
200b4dc09f
Add a note explaining why there's a homegrown __STRING, __CONCAT, etc.
2013-07-04 11:58:11 +00:00
pooka
be1e0a384e
Determine the interface name and the names of exported symbols based
...
on VIRTIF_BASE. This allows using various different packet-shoveling
backends in the same rump kernel.
2013-07-04 11:46:51 +00:00
pooka
aa90974447
Apparently warning flags are not kept in CWARNFLAGS. Compensate.
2013-07-04 10:14:04 +00:00
pooka
6b86dfa7fa
Some systems provide ioctl() via unistd.h
...
(not that this is going to work there, but at least we don't
get unnecessary compiler warnings)
2013-07-04 10:09:55 +00:00
pooka
b30b04091e
Avoid not-used warning on NetBSD
2013-07-04 09:58:28 +00:00
pooka
eb02078a24
fix warnings
2013-07-04 09:48:01 +00:00
matt
1fae100816
Add l2pte_set and l2pte_reset inlines to set/reset a pte. These will be
...
used to support > 4KB pages sizes.
Don't use >> L1_S_SHIFT, use L1_IDX() instead.
2013-07-03 21:37:35 +00:00
pooka
d9c4c208c1
fix parameter name
2013-07-03 20:17:07 +00:00
pooka
d45448fa65
Adjust for rump_virtif_create() removal. Incidentally, this reduces
...
the number of exported symbols by one (which is useful for phase 2).
2013-07-03 19:23:46 +00:00
pooka
ba335617f8
regen
2013-07-03 19:22:21 +00:00
pooka
bc38e87441
Having a system-supplied function interface to create virt(4) is not
...
fully useful when the system doesn't supply anything to configure the
interface with. So remove rump_virtif_create(), that functionality
is now taken care of with ifcloner.
2013-07-03 19:21:11 +00:00