Commit Graph

186190 Commits

Author SHA1 Message Date
tsutsui
8ab3a33f47 Put asm objects into OBJS, not dependencies for all target. 2009-12-06 13:31:16 +00:00
tsutsui
25aced04f4 Create machine and ${MACHINE_CPU} symlinks properly and
remove unnecessary dependencies so that parallel build works.
2009-12-06 13:28:04 +00:00
kiyohara
24a2c2d7c2 Add unistone. 2009-12-06 13:21:37 +00:00
nakayama
0db9becb3d Make is_dvmaend point to the last DVMA map address not the next
address, and fix off by one errors.

Also, do some optimization.
2009-12-06 13:15:25 +00:00
uebayasi
37469dacdd Provide the phony "tags" target as previous. Make it depend on the real
target.  In case someone assumes the target as an interface.
2009-12-06 12:56:59 +00:00
kiyohara
4e74fe3282 Support Infineon UniStone (PBA31308).
from Gumstix's bluez-utils-hciattach-pba31308.patch.
  tested on Gumstix verdex-pro.
2009-12-06 12:55:46 +00:00
kiyohara
adcbe4e3eb Fix some bugs.
1. Remove O_NDELAY.  Please block it.  Or read() returns EAGAIN.
 2. We want data size.  header already read.
 3. Call errx().  errno(2) unspecified at now.
2009-12-06 12:47:37 +00:00
kiyohara
c7fee8db52 Check return values. 2009-12-06 12:31:07 +00:00
kiyohara
69144e751e Fix comment. CSR use BlueCore command. 2009-12-06 12:29:48 +00:00
kiyohara
e904f28b1a Enable UART clock in pxauart_attach(). 2009-12-06 12:27:33 +00:00
kiyohara
f551a32a10 Add ukphy(4). 2009-12-06 12:23:24 +00:00
kiyohara
19077e5352 Split internal phy. We can use ukphy(4).
SMSC manufactures some PHY.  This PHY is built into LAN9x18 Family.
2009-12-06 12:22:17 +00:00
uebayasi
0b52043222 Fix typo in previous. 2009-12-06 11:16:26 +00:00
kiyohara
92ea44f8c3 Add drvctl.
Update some bluetooth related comments.
Remove some white-spaces.
2009-12-06 09:40:51 +00:00
wiz
19c8fa4ec7 Fix a typo (#endiif -> #endif).
Problem found while building kdesdk3.
2009-12-06 09:16:16 +00:00
uebayasi
09afef2063 Rename ${SRCS.{alpha,arm,...}.gen} to ${LSRCS.{alpha,arm,...}.gen} because
they ended up in ${LSRCS}, not ${SRCS}.  ${SRCS.*} namespace will be used
for more useful things.  No functional changes intended.
2009-12-06 07:12:17 +00:00
uebayasi
619e0bd90e Set ${SRCS.softfloat}. 2009-12-06 07:05:50 +00:00
tsutsui
88e9ae94fe Remove old MD pmap.c files for amiga and atari.
They no longer work due to reorganization of common pmap_motorola.c.
2009-12-06 06:46:25 +00:00
tsutsui
31af389001 Move initialization of protection_codes[] and kernel_pmap()
from MD pmap bootstrap sources to common pmap_bootstrap_finalize().

Tested on atari, hp300, mac68k, and news68k.

XXX: Why is protection_codes[] array initialized at run time?
2009-12-06 06:41:28 +00:00
uebayasi
c1fa6bf05b Make the local "tags" target an absolute path, ${.OBJDIR}/tags, otherwise
it conflicts with the "tags" target defined in bsd.own.mk, which is .PHONY,
which causes you to re-build "tags" everytime you re-run make.
2009-12-06 06:30:52 +00:00
uebayasi
f0d2ed931c Assign quad / softfloat specific ${SRCS} to ${SRCS.quad} / ${SRCS.softfloat}
then append them to ${SRCS}.  Those will be used to generate quad / softfloat
symbol lists.
2009-12-06 05:34:42 +00:00
tsutsui
378ad8db55 Sync MMU table initialization with amiga and atari a bit:
- for 040/060, move L2 descs for Sysptmap from the last L2 block in segment
  table pages to the contiguous block with ones for segment table mappings

- for 020/030, invalidate ste and pte entries separately since
  ste size (TIA_SIZE) and pte size (TIB_SIZE) could be different
  on 8KB/page systems

Tested on hp300 (040), mac68k (LC040), and news68k (030)
(and untested on others).

XXX: some more stuff in pmap_bootstrap.c could be moved into
XXX: common pmap_bootstrap_finalize()?
2009-12-06 02:42:34 +00:00
nakayama
38859c1df9 psycho_ue():
- remove printing of pa, it is irrelevant value since va address
  passed to iommu_extract is incorrect and we can look at it in
  IOTTE.
- print correct IOVA address.

While there, convert printf to aprint_error_dev and remove long
long casts by using PRIx64.
2009-12-06 01:35:40 +00:00
tsutsui
a1e417bc5e pm_stfree in struct pmap is a bitmap value so make it unsigned. 2009-12-06 00:33:58 +00:00
tsutsui
9ca3f123d3 Use proper macro, variable names, types, and assignments for readability. 2009-12-05 23:16:57 +00:00
pooka
09aa8689fb Cast Oh Kath Ra once every second. 2009-12-05 22:44:08 +00:00
pooka
4a2258a070 remove cv_wakeup.9 (it wasn't documented, just linked) 2009-12-05 22:43:34 +00:00
pooka
d2445bdd09 tsleep() on lbolt is now illegal. Convert cv_wakeup(&lbolt) to
cv_broadcast(&lbolt) and get rid of the prior.
2009-12-05 22:38:19 +00:00
pooka
faa8e1b3e3 Convert tsleep(&lbolt) to kpause(). Make ltsleep/mtsleep on lbolt
illegal.  I examined all places where lbolt is referenced to make
sure there were pointer aliases of it passed to tsleep, but put a
KASSERT in m/ltsleep() just to be sure.
2009-12-05 22:34:43 +00:00
mrg
14a6b5c89f - adjust the PA mask to the 43 bits supported by USIII.
- rework the spitfire/cheetah cache_flush_phys() to avoid several #ifdefs
- add a membar #Sync after sparc64_ipi_drop_fpstate (probably unnecessary)
2009-12-05 22:25:51 +00:00
mrg
b18b121b1e - update the TLB_SOFT2_MASK and TLB_DIAG_MASK definitions for USIII. partly
from openbsd.
- rename TLB_DIAG_MASK to TLB_RESERVED_MASK.  from openbsd.
- fix the TLB_PA_MASK definition to be correct.   our old one was 4 bits
  too wide.
- fix various errors in the #if 0 bitfield version of struct sun4u_tag_fields.

tested on U60 and SB2500.
2009-12-05 22:24:11 +00:00
mrg
9bf6f1ab87 from openbsd:
>Don't use u_int to store a 64-bit address. Found with help from miod.
>Makes a Sun Fire V490 boot without spending ages in bus_dmamem_alloc(9).
2009-12-05 22:02:53 +00:00
pooka
a3b4e31630 Use puffs_kernerr_abort as the error handler. 2009-12-05 20:54:40 +00:00
pooka
7431f4f63d Add an error handler which syslogs but does not abort() and make it
the default.  Most servers just shovel bits from their backend to
the kernel without checking the contents and dumping core in case
the backend gives garbage is a bit harsh.
2009-12-05 20:54:10 +00:00
pooka
a9b5fcccfc Note conversion to puffs for the kernel driver. 2009-12-05 20:34:28 +00:00
pooka
3b4bfde519 use puffs_cookie_t. no functional change. 2009-12-05 20:29:19 +00:00
pooka
8dec10527a Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
(missed new file in change batch)
2009-12-05 20:25:32 +00:00
pooka
3413da1d3f Note portalfs kernel driver removal. 2009-12-05 20:17:13 +00:00
pooka
70d4493c77 Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
2009-12-05 20:11:01 +00:00
pooka
4098e2664f Install obsolete lists for modules. 2009-12-05 19:14:39 +00:00
martin
f20c48026a printf format fixes to make it compile 2009-12-05 17:23:39 +00:00
plunky
e16149e27c add alias for Plug'n'Play Information service UUID.
(This is sometimes used in HID devices to provide manufacturer information)
2009-12-05 16:54:13 +00:00
jdc
0a653c3d77 Avoid a panic if we are asked to sync a zero-length map, by returning
immediately.
2009-12-05 16:48:26 +00:00
jdc
4d33475520 Really prefer the external over the internal PHY by checking only that
PHY address first.  Avoid problem with bogus ukphy's attaching on the
internal PHY of the SB1000.

Also, take some quirks for internal, external or either MII PHY from
the OpenBSD driver.
2009-12-05 16:43:25 +00:00
sborrill
1e82324f8f Another attempt to fix ws fallout. 2009-12-05 16:39:50 +00:00
pooka
8ce0209974 note playstation2 removal 2009-12-05 16:34:02 +00:00
dsl
4ea4889682 Correct what are clearly typos leading to duplicate vendor:product pairs.
Where possible values have been checked against the pcidatabase and x.org.
In some cases I've only commented on some dubious entries!
Values will be picked up by the next update.
Info from PR/36487
2009-12-05 16:30:39 +00:00
pooka
d6224f4507 Remove support for NetBSD/playstation2. 2009-12-05 16:29:10 +00:00
cegger
a12917370a Fix syntax error on OSX 10.5.
While here, simplify handling with OPTARG using IFS.

developped with and 'go for it' dsl@
2009-12-05 15:56:25 +00:00
tsutsui
02f691b1af Replace obsolete vm_offset_t with appropriate paddr_t or vaddr_t.
(why gcc compiles these differ!?)
2009-12-05 15:31:07 +00:00