rpaulo
e1c6b6ed0f
bpfilter doesn't accept count anymore.
2006-02-04 02:53:13 +00:00
reinoud
a92fdbbc53
Add commented out UDF file-system entry in all GENERIC configurations.
2006-02-02 21:32:08 +00:00
xtraeme
1d4757bcd5
Add ral(4) at cardbus/pci/uhub and atu(4) at uhub.
2006-01-31 16:38:58 +00:00
dsl
6f0f9f8763
Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h>
...
The bswap.h and endian.h files are all rather incestuous, but I want to
get the constant folding stuff into one place - sys/bswap.h
2006-01-29 21:42:40 +00:00
uwe
2894b52ffd
Add relevant #include's to get prototypes.
2006-01-28 01:23:16 +00:00
uwe
991ac5aec7
Call freeall() from chain() to match the code for other ofw platforms.
...
freeall() is a no-op.
2006-01-27 04:53:22 +00:00
uwe
ee90a05a3e
Move #ifdef __notyet__ inside freeall() to match sparc and ofppc.
2006-01-27 04:51:47 +00:00
uwe
f77271b258
Get rid of unused variables.
2006-01-27 04:01:04 +00:00
uwe
0ccdbf50cf
Include relevant libsa headers to make WARNS=4 happy.
2006-01-27 03:58:27 +00:00
uwe
31affa1b85
Return 0 from net_close.
2006-01-27 03:48:15 +00:00
uwe
6c00e44048
Mostly make WARNS=4 happy.
...
Same object code generated, except for return 0 in devclose.
2006-01-27 03:43:54 +00:00
uwe
bcb1033b34
Make WARNS=4 happy.
2006-01-27 03:11:33 +00:00
uwe
f75f446e52
More constification.
2006-01-27 03:07:31 +00:00
uwe
d9fda226fc
Tell gcc that startup and stack are used.
...
In startup remove declarations of unused symbols.
This file now compiles with WARNS=4.
2006-01-27 02:58:50 +00:00
uwe
f62a1602ab
Make -Wcast-qual happy.
2006-01-27 02:54:15 +00:00
uwe
967fd50006
Pull cleanup fixes from sys/arch/shark/stand/ofwboot/alloc.c.
...
These files are now almost identical.
2006-01-27 02:39:07 +00:00
christos
606bb2caed
free -> dealloc
...
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
xtraeme
b768917ecd
ktrace-lwp fallout. ok'ed by skrll.
2006-01-20 15:41:28 +00:00
bouyer
bf1a4d2af5
properly use ata_channel->ch_ndrive:
...
- initialize it properly in the bus front-ends (all 2, exept in wdc_pcmcia.c
for the "Sandisk CompactFlash Card" where it's set to 1)
- remplace hardcoded '2' by ata_channel->ch_ndrive in MI IDE drivers.
From Christos Zoulas in kern/32501.
2006-01-16 20:30:18 +00:00
xtraeme
668713f3d9
Enable rlphy(4).
2006-01-04 23:38:27 +00:00
chs
6cb72218d4
switch macppc to use the MI zstty driver.
...
add macppc's ZS_TXDMA hooks there.
2005-12-27 17:20:54 +00:00
perry
50a256a3a0
__asm__ -> __asm
...
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00
perry
2d65de2479
bare asm -> __asm
2005-12-24 22:45:33 +00:00
perry
5f1c88d70d
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:06:46 +00:00
macallan
8ef937c9e4
return SCSI_CHECK in xs->status instead of xs->xs_status
...
This fixes a whole bunch of weird errors that plague(d) mesh forever, like
- failure to spin up drives automatically
- occasional bogus 'drive offline' messages
- LONG delays when trying to use a ZIP drive
It will probably expose more problems, we'll see.
2005-12-17 21:48:13 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
elad
4591e5acfd
Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
...
and remove the i386 GENERIC_VERIEXEC config.
2005-12-09 23:34:01 +00:00
tsutsui
2a32b6081e
Remove obsolete options VNODE_OP_NOINLINE.
2005-12-07 12:40:46 +00:00
tsutsui
ff9b47d69e
Adjust comments for options FFS_NO_SNAPSHOT.
...
XXX: This option should be mentioned in options(4).
2005-12-07 09:10:11 +00:00
thorpej
cfc81086d9
swcr -> swcrypto
2005-11-25 16:41:31 +00:00
thorpej
7385cdd346
"pseudo-device crypto" really refers to the /dev/crypto API to the
...
opencrypto framework, not the framework itself. Update the comment
accordingly.
2005-11-25 16:35:11 +00:00
thorpej
751f32db24
Add "pseudo-device swcr" (commented out if "pseudo-device crypto" is also
...
commented out).
2005-11-25 16:30:23 +00:00
yamt
bc21da4cfb
bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer.
...
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.
we have too many copies!
2005-11-24 13:08:32 +00:00
dbj
8000972bbe
. Have dbsym explicitly suggest increasing SYMTAB_SPACE when
...
an overflow occurs.
. Make this error a fatal build time error
. Move the support for dbsym into the MI Makefile.kern.inc,
conditional upon the SYMTAB_SPACE option being defined in
the kernel config file.
2005-11-24 12:54:29 +00:00
chs
59fddeceaa
turn off DEBUG and DIAGNOSTIC in GENERIC kernels so that they
...
are compatible with the LKMs that are part of the release.
2005-11-03 16:48:29 +00:00
dyoung
e0b6419887
Define AH_REGOPS_FUNC because the macppc HAL uses the register
...
read/write functions to access the hardware.
2005-10-19 09:02:52 +00:00
dyoung
fde2c4b7ca
No need to create opt_ah.h in these makefiles, config(8) takes care
...
of it.
2005-10-19 09:01:27 +00:00
macallan
c2b05b7fce
Check for 'i2c-bus' child and if found look for i2c devices there instead of
...
directly under the ki2c node.
Needed for newer ( 2005? ) OpenFirmware.
2005-10-07 23:53:11 +00:00
macallan
2f6c0aa9c0
fix a typo
2005-09-27 15:04:26 +00:00
macallan
c247bb3437
rename gpio -> macgpio to avoid conflicts with gpio framework
2005-09-27 14:34:15 +00:00
macallan
53ea55fd08
Added macros for bus_space_mmap() and bus_space_vaddr()
2005-09-23 18:53:16 +00:00
macallan
aaddad0a64
forgot to commit this along with ofb.c
2005-09-23 17:51:37 +00:00
macallan
178f17c813
- center output to match firmware settings when using the ROM font
...
- allow the super user to mmap() the PCI IO area corresponding to ofb at offset
0xf2000000 - needed by some XFree drivers ( approved by Bill Studenmund )
- add a hack to allow mmap()ing offset 0xa0000 - 0xbffff if not covered by the
regular framebuffer mapping at offset 0 ( disabled by default, use options
OFB_FAKE_VGA_FB ) - this allows buggy XFree drivers which expect the VGA
framebuffer at this address to work.
2005-09-22 18:16:56 +00:00
yamt
d597202302
make VMSWAP optional again.
2005-09-17 14:38:38 +00:00
yamt
7e71f567e4
include "conf/std".
2005-09-17 09:44:05 +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
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
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
dogcow
12c72179ee
after discussion with dyoung, add rtw* at cardbus
2005-09-06 02:03:52 +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