Commit Graph

193961 Commits

Author SHA1 Message Date
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
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
skrll
3fd0b7cfed Fix RCSID 2010-10-14 20:14:50 +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
skrll
9c4f0f800b Move a comment so that it is correct. 2010-10-14 07:51:21 +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
oki
e7b1f54727 Fixed mbuf leak possibility. 2010-10-14 03:34:42 +00:00
oki
e3731ae5b2 Wait for freeing mbuf cluster in sosend() causes freeze network stack.
Don't wait for it.
problem was found by iij seil team.
it is similar to OpenBSD uipc_socket.c rev.1.72.
2010-10-14 03:07:51 +00:00
mrg
3eca36b665 add some (uint64_t) casts so avoid 32 bit overflows. this fixes my
3TB disk with 4KB sectors and disklabel (which looks like it would
work upto 16TB.)

idea from mlelstv@.
2010-10-14 00:47:16 +00:00
tsutsui
2e58d58880 Add commented out options MODULAR. 2010-10-13 14:34:27 +00:00
tsutsui
b01b8bd3fb Disable PAX_ASLR on sh3 as well. exec_elf32 module doesn't work with it
at least on dreamcast.
2010-10-13 14:15:23 +00:00
tsutsui
6b1a1449bc Prepare empty module_init_md() for options MODULAR.
It just works on dreamcast even with root on gdrom environment.
2010-10-13 14:13:32 +00:00
pooka
936f8998cf Use actual buffer size instead of sizeof(char *). Makes the test
work on non-64bit platforms.
2010-10-13 11:19:28 +00:00