Commit Graph

106720 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
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
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
301a7b97a4 Add commented out options MODULAR. 2010-10-16 13:55:11 +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
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
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
rmind
0698446b8c Re-enable direct select. 2010-10-15 05:39:19 +00:00
dholland
eeb9a7a99f Fix cut&paste code, from Henning Petersen in PR 43544. 2010-10-15 05:26:09 +00:00
haad
e9533dda6f Add files needed to build npf as a RUMP library, original code bu rmind
some modifications done by me.

Oked by @rmind.
2010-10-14 22:39:30 +00:00
tsutsui
eee2fbcce4 Un-ifdef COMPAT_AOUT_M68K for MODULAR kernel. 2010-10-14 16:34:29 +00:00
tsutsui
b2c1aff3d8 Fix reloc calcurations (mechanically pulled from working i386 and sh3).
Now options MODULAR works at least on news68k:

# uname -mrs
NetBSD 5.99.39 news68k
# modstat|grep filesys
coredump         misc       filesys    2     2790     -
exec_aout        misc       filesys    0     1866     coredump
exec_elf32       misc       filesys    0     6072     coredump
exec_script      misc       filesys    0     972      -
kernfs           vfs        filesys    0     9734     -
mfs              vfs        filesys    0     3656     ffs
procfs           vfs        filesys    0     23924    -
#
2010-10-14 16:33:50 +00:00
tsutsui
8a34e103b1 Prepare empty module_init_md() for options MODULAR. 2010-10-14 16:31:16 +00:00
skrll
5e1e0a2d7b Define PT_TLS. 2010-10-14 07:57:34 +00:00
plunky
38be6befc7 Some Broadcom controllers emit empty ACL packets during connection
setup, using the handle that they have not yet told us for the
connection-to-be. Disconnecting can cause problems so just ignore
zero length ACL packets on unknown connection handles.

fixes a problem reported by Nick Hudson
2010-10-14 07:05:03 +00:00
kiyohara
9a2413ff51 Support kernel load from SCSI HDD with onboard siop. It is very EXPERIMENTAL!! 2010-10-14 06:58:22 +00:00
kiyohara
01f89bfdb3 Support kernel load from IDE HDD with onboard wdc. like cobalt, sandpoint. 2010-10-14 06:50:43 +00:00
kiyohara
9fe16975a7 Change format of path for device. A current form strangely feels dissatisfied.
This new format looks like the format of BootROM of BeBox.
2010-10-14 06:39:52 +00:00
kiyohara
246f73effa s/,vga}/,_vga}/. 2010-10-14 06:23:27 +00:00
kiyohara
bb14ed2c7b Add _rtt(). But it is NULL function. 2010-10-14 06:17:57 +00:00
kiyohara
050710296c Add pci.c to SRCS. 2010-10-14 06:17:29 +00:00
kiyohara
2fb624f24b Add pci.c. Splitted from vreset.c
And cleanup vreset.c.
2010-10-14 06:12:54 +00:00
kiyohara
5ea6a9374f Add PCI_mem and many access/cache-ope functions.
+ inw/inwrb/writeb/writel/readb/readw/readl.
  + _wbinv/_inv.
2010-10-14 05:52:01 +00:00
kiyohara
ac458dd62f Add -I${S}/lib/libsa and reorder. 2010-10-14 05:40:40 +00:00
taca
bde2398ad6 Regen. 2010-10-14 03:36:10 +00:00
taca
7587f075b4 Remove duplicate entries:
* "vendor SYBATECH" exists as vendor SYBA.
* "product INTEL 82915G_IGD" simply duplicated.
2010-10-14 03:35:23 +00:00