Commit Graph

193988 Commits

Author SHA1 Message Date
tsutsui
0e356e23d5 Include "ioconf.h" for struct cfdriver. 2010-10-17 14:17:49 +00:00
tsutsui
83c0ebae98 Make local functions static. 2010-10-17 14:16:21 +00:00
tsutsui
07d8ce4981 Split device_t/softc. 2010-10-17 14:13:44 +00:00
plunky
5b17090754 be more explicit 2010-10-17 12:45:28 +00:00
plunky
8091a14e54 note new controllers (as parents) bcsp(4) and sbt(4),
and new device (as child) btmagic(4)
2010-10-17 11:45:36 +00:00
kiyohara
8e2fc5a49a Cleanup floppy directory. 2010-10-17 11:34:27 +00:00
kiyohara
cdc4e954f1 Cleanup floppy directory. 2010-10-17 11:19:53 +00:00
kiyohara
d1c31788ca Add ramdisk directory and files. 2010-10-17 11:05:18 +00:00
kiyohara
c0bd6c34f8 Create installation/floppy directory. 2010-10-17 10:56:48 +00:00
kiyohara
6cd4de0c46 Add bktr.
Remove mms, lms.
2010-10-17 10:55:01 +00:00
kiyohara
8a86006bd2 Add and comment-out obsoleted two devices(mms/lms).
like i386.  thanks tsutsui@.
2010-10-17 10:48:24 +00:00
phx
ffe1973ed5 Find all GPIOs in OF also on newer PowerBooks.
Do not use a GPIO or establish an interrupt when it was not found.
To be done: We should use bus_space(9) for reading/writing GPIOs.
2010-10-16 18:22:37 +00:00
pgoyette
1e25563ccb Remove double-inclusion of <sys/kauth.c> 2010-10-16 18:09:02 +00:00
skrll
8b916d603d Add cast so that usr.bin/ldd/elf32 builds. 2010-10-16 17:48:12 +00:00
tsutsui
36538467b8 Prepare empty module_init_md() for options MODULAR for all other m68k ports. 2010-10-16 17:10:42 +00:00
tsutsui
6127df31cc - add commented out options MODULAR
- comment out historical options COMPAT_44
2010-10-16 16:57:29 +00:00
tsutsui
fe29d97c5e Prepare empty module_init_md() for options MODULAR.
XXX: Should we get rid of cpu_exec_aout_makecmds() for COMPAT_NOMID and
XXX: COMPAT_44? Who still keeps such rare ancient commands?
2010-10-16 16:41:45 +00:00
tsutsui
fac996134e Note misc user visible changes I put recently. 2010-10-16 15:33:06 +00:00
tsutsui
301a7b97a4 Add commented out options MODULAR. 2010-10-16 13:55:11 +00:00
wiz
532ca9579f Use .In. 2010-10-16 12:05:48 +00:00
njoly
4c968434a3 Make setenv(3) follow the standard, by rejecting invalid strings. It
now fails with EINVAL errno when variable is NULL, empty or contains
an `=' character; or value is NULL.

Adjust the man page accordingly, and exercize them in the existing
environment testcase.
2010-10-16 11:23:41 +00:00
njoly
53f8ab79a9 Do use putenv(3) to handle the provided strings directly, instead of
setenv(3) which need string splitting and later reassembly.
2010-10-16 11:13:52 +00:00
skrll
cf640a666c oops, sort after previous. 2010-10-16 10:41:50 +00:00
skrll
e6cdac9c4b Implement dl_iterate_phdr.
Somewhat taken from FreeBSD. Manual page from OpenBSD.
2010-10-16 10:27:06 +00:00
taca
a00a1fe7ff - Change "else" + space + tab "if" to "else" + space + "if".
- A word "mechanism" was accidently separated in to "me" and "chanism"
  in comment.

No functional chanage and I found it while reading if_wm.c yesterday.
2010-10-16 06:31:49 +00:00
taca
3eda447adb Remove a variable which assigned but never used, I found while reading
if_bge.c yesterday.
2010-10-16 06:29:33 +00:00
kiyohara
daccc0584f Remove unnecessary 'define pckbcport'. 2010-10-16 05:59:35 +00:00
kiyohara
74d6c751e6 Add bktr(4). (BeOS seems to have supported BT848. ;)
Remove INSECURE.
Disable options PMS_SYNAPTICS_TOUCHPAD.
Remove mms and lms from majors.bebox.
2010-10-16 05:49:03 +00:00
kiyohara
afdef59be6 Cleanup INSTALL.
+ Enable must required devices.  (HDD, NIC, com, vga, genfb and keyboard)
  - Disable optional devices. (mouse, lpt...)
2010-10-16 05:39:34 +00:00
kiyohara
95bbad455e Support vendor dependent functions. 2010-10-16 05:29:29 +00:00
kiyohara
992efa8a89 Add vendor dependent functions.
sc_vendor_init()/sc_vendor_port_status().
2010-10-16 05:23:41 +00:00
kiyohara
30411c8b74 Add option -I (no-inkernel). bebox loads kernel from HDD. 2010-10-16 05:14:14 +00:00
kiyohara
97990fdb3d Remove unnecessary white-spaces and Tabs.
Replace white-spaces to Tab.
2010-10-16 05:05:09 +00:00
jym
ce6fea14a1 size_t: %d => %zd 2010-10-16 00:20:05 +00:00
jym
3b91e62198 Handle error case (avoid changing to XenbusStateConnected when resume
failed)
2010-10-16 00:18:06 +00:00
jym
db7bc67367 Features (like feature-rx-copy) are set during XenbusStateInitWait in
backend. So delay xennet_xenbus_resume() up to notification of
backend state change.

This avoids a race that happens during dynamic attach/detach of network
interfaces with xm(1), where frontend queries xenstore for features not
yet reported by backend. This does not happen during normal domU boot,
as the backend has enough time to fill in these entries before frontend
asks for them.

Issue was reported by sborrill@: detaching xennet interfaces with RX copy
mode enabled turns them back during attach to RX flip mode due to the race.

feature-rx-copy support is part of another patch.
2010-10-16 00:12:08 +00:00
phx
c018a125ad Make it match the TAS3004 "codec" node, which is found on newer PowerBook G4s
(PowerBook5,6).
2010-10-15 22:18:58 +00:00
he
428772b231 Fix a minor typo preventing this from building. 2010-10-15 20:01:03 +00:00
jschauma
40df9f7982 remove duplicate 'was' in a comment 2010-10-15 19:35:08 +00:00
tsutsui
afeacd3b7c compat_aoutm68k doesn't require alternative emul path lookup. 2010-10-15 16:51:09 +00:00
tsutsui
8e16588b0b Make common kernel module binaries work on both sun3 and sun3x.
Tested on 3/160 (on TME) and (real) 3/80.

XXX: module files can be loaded only on single user?
2010-10-15 15:55:52 +00:00
skrll
0a77584d8f Revert previous for now. It's part of a larger commit which will arrive
soon.
2010-10-15 15:08:05 +00:00
skrll
1f09b5c2ae Sort entries. 2010-10-15 12:29:17 +00:00
tsutsui
621e053625 Build and install compat_aoutm68k.kmod and exec_aout.kmod on m68k machines. 2010-10-15 12:20:33 +00:00
tsutsui
0d70fee822 Add compat_aoutm68k module build dir.
(See options(4) for details of compat_aoutm68k)
2010-10-15 11:22:01 +00:00
tsutsui
bb3ae5174d Get rid of more #ifdef COMPAT_AOUT_M68K dependent part.
Now compat_aoutm68k can be a module.

XXX: linux/svr4 ELF binaries also require a syscall return value in %a0?
2010-10-15 10:40:52 +00:00
tsutsui
f350eccac6 Fix typo. 2010-10-15 10:20:09 +00:00
skrll
a048346afd Be more tolerant to the location of PT_PHDR in the segment list. 2010-10-15 07:22:44 +00:00
dholland
1657dadafa Per PR 19359 note that mkdep doesn't handle all make metacharacters
correctly; in particular, filenames containing '#' cause trouble,
although '$' seems to be ok. Bump date.
2010-10-15 05:46:48 +00:00
rmind
0698446b8c Re-enable direct select. 2010-10-15 05:39:19 +00:00