Commit Graph

250 Commits

Author SHA1 Message Date
matt
290a34a065 Merge from matt-nb5-mips64
Merge mips-specific arch files.
2009-12-14 00:45:59 +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
thorpej
125abe92ed Use bus_dmamem_common. 2009-08-21 04:10:33 +00:00
macallan
f5a0fe39db add panel driver 2009-05-14 01:13:21 +00:00
macallan
2fbe60d5a7 add major number for sysmon 2009-05-14 01:12:58 +00:00
sekiya
b73781ae2c Pull in Atheros HAL. 2009-02-20 12:57:06 +00:00
rumble
85716c44d5 Enable Personal IRIS 4D/20 and 4D/25 support:
- Adapt int(4) to handle the INT1 chip
  - Move generic rtc clocks out of hpc/ and into dev/
  - Handle the very strangely wired eeprom and other bits in arcemu
  - Sprinkle MACH_SGI_IP6 as necessary
  - Enable IP6/IP10 devices in GENERIC32_IP12. Yes, the naming is poor but
    there's no winning with kernel/hw compatibility on sgimips...

Tested on my 4D/25. Doesn't (appear to) break macallan@'s IP22.
2009-02-12 06:33:56 +00:00
jym
92ae85d18e Changes to MEMORY_RBFLAGS option:
- renamed to MEMORY_DISK_RBFLAGS to better fit the rest of the
MEMORY_DISK options(4)
- change default value to RB_AUTOBOOT instead of RB_SINGLE, and adapt
the config(5) files accordingly
- document this option inside options(4)

See also http://mail-index.netbsd.org/tech-kern/2008/12/25/msg003924.html

Reviewed by abs@ in private mail.
2009-02-06 18:50:26 +00:00
jym
78f949082f Fix some whitespace and indentation. No functional change. 2009-02-06 18:34:19 +00:00
mrg
c6a4afa995 add COMPAT_50 to all the configs with COMPAT_40. 2009-01-24 05:06:05 +00:00
jmcneill
db842c7394 add pseudo-device drvctl 2008-12-23 13:14:22 +00:00
ad
6ba528b5bc Remove softdep, pass 1. We are focused on improving journalling.
Proposed on tech-kern@.
2008-11-24 11:41:07 +00:00
ad
0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
tsutsui
bd37977872 Specify CPUFLAGS="-march=mips3 -mabi=32 -mtune=vr5000" for IP32 kernel.
This improves ttcp(1) results on mec(4) ~7%.

No objection on port-sgimips.
2008-08-23 15:13:47 +00:00
tsutsui
348da66549 Add accept filters to GENERIC-like kernels. 2008-08-15 15:17:18 +00:00
tsutsui
c1e7fb3d43 Comment out options MACE_NEEDS_DELAYS.
Fixed mec(4) driver will (hopefully) work without it.
2008-08-07 15:14:40 +00:00
simonb
0751ba4bff Add "options WAPBL" to standard GENERIC/INSTALL type configs. 2008-07-31 07:40:59 +00:00
tsutsui
9a86ae19d5 - add options COMPAT_40
- use options<space><tab>
2008-04-04 16:27:26 +00:00
tnn
4f831ae35a tmpfs works on sgimips, so enable it. 2008-03-07 21:42:19 +00:00
drochner
bb33f35f20 Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
2008-02-20 21:43:33 +00:00
sekiya
37c9e98b8d Uncomment firewire devices. Verified working on my IP32 with a combo
USB2.0/IEEE1394 card:

fwohci0 at pci0 dev 3 function 3: VIA Technologies VT6306 IEEE 1394 Host Controller (rev. 0x46)
fwohci0: interrupting at crime interrupt 10
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:40:26:01:08:01:57:07
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)

... and:

ieee1394if0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
ieee1394if0: bus manager 1 (me)
ieee1394if0: New S400 device ID:0001a35000317061
sbp0 at ieee1394if0: SBP-2/SCSI over IEEE1394
scsibus2 at sbp0: 1 target, 0 luns per target
sd1 at scsibus2 target 0 lun 0: <AL-COMBO, , > disk fixed
sd1: fabricating a geometry
sd1: 38154 MB, 38154 cyl, 64 head, 32 sec, 512 bytes/sect x 78140160 sectors
sd1: fabricating a geometry
sd1: no disk label

There are a few "mace: overrun at ff2001" errors during access, but they
appear harmless.
2008-02-02 10:31:08 +00:00
ad
2ecdf58c2c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
ad
4b293a84e1 Interrupt handling changes, in discussion since February:
- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
2007-12-03 15:33:00 +00:00
xtraeme
4ba09b41c3 Remove System V semaphores and share memory options to set the limits:
SEMMNI, SEMMNS, SEMUME and SHMMAXPGS.

They can be tweaked via sysctl now. Ports that were setting values on
them weren't touched, I only removed the ones that were commented out.
2007-11-04 14:34:19 +00:00
garbled
d974db0ada Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
2007-10-17 19:52:51 +00:00
adrianp
475217d719 Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
2007-08-06 21:26:53 +00:00
macallan
5a3795a6c0 add options MACE_NEEDS_DELAYS since many machines need those delays in
bus_space*() operations on macs
2007-07-17 00:26:57 +00:00
macallan
bd5e7f39e5 make the delay()s and spl*()s in bus_space*() functions optional
( enable with options MACE_NEEDS_DELAYS )
mec apparently was the only device that really needed them and that's no
longer the case, at least on my O2.
2007-07-15 23:27:55 +00:00
pooka
91f8a6cda5 RCS Id police 2007-07-08 09:54:50 +00:00
rumble
6912898dc8 Add read-only support for SGI's Extent File System.
Reviewed by pooka@.
2007-06-29 23:30:16 +00:00
martin
fda9709385 Add pseudo-device agr to more kernels 2007-06-06 08:19:10 +00:00
macallan
ec27b894ba also include files.rasops 2007-04-14 04:50:40 +00:00
jmcneill
d3000ebca1 Enable mavb audio device. 2007-04-13 03:40:22 +00:00
jmcneill
e88e747668 Replace pckbc with macekbc.
Enable crmfb
Enable wsfont, wsmux
2007-04-12 13:14:53 +00:00
macallan
43b2c2b989 include files.wsfb 2007-04-10 02:50:32 +00:00
drochner
ab07e481e4 It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
2007-03-14 12:27:20 +00:00
rumble
043fd3ee40 Enable GIO32 SCSI adapters to attach at secondary and tertiary HPCs. 2007-02-20 22:21:26 +00:00
rumble
eb755ecb24 Enable light(4). 2006-12-29 00:42:01 +00:00
rumble
163b9bb1ca Rework GIO probing a bit.
Devices present on the GIO bus needn't always provide a Product
Indentification Word, even if their address space is the same as the
address space of a slot. Separate the handling of probing for slot-based
devices and graphics devices, matching the latter first, and precluding
addresses probed for the former when a graphics device is known to exist
in a slot's space.
2006-12-29 00:41:11 +00:00
rumble
b830d82e42 The Set Engineering workaround is now set as a proplib entry in
sgimips/autoconf.c.
2006-12-24 02:07:29 +00:00
rumble
90e37dd7fb The Set Engineering board now works, so enabled it with the appropriate
workaround option. Also, add 'tlphy' to keep the dmesg tidy (it's unused).
2006-12-23 21:30:42 +00:00
rumble
86f754de17 Permit sq(4) to attach to secondary HPCs, enabling support for the E++
GIO adapters and the secondary ethernet on the Challenge S (untested).
2006-12-23 21:25:51 +00:00
rumble
a295ad6c89 Revert the change to using objcopy in 1.9. Our present objcopy solution
results in unbootable ecoff kernels ("malloc_type_attach: bad magic"
panic). Maybe this could be fixed with appropriate flags, but elf2ecoff
produces working ecoff kernels and ecoff bootloaders, which was the reason
for the switch in the first place.
2006-12-22 21:07:52 +00:00
wiz
6919c6578c s/independant/independent/, from Zafer. 2006-11-24 22:04:21 +00:00
jmmv
7a13fe4abf Remove tmpfs's experimental status. OK'ed by core@. 2006-11-11 18:47:08 +00:00
bouyer
154d613f0b Add support for the Intel 80003 Gigabit Ethernet controller (found e.g. in
newer server chipsets) to wm(4), from the FreeBSD em(4) driver.
While there, add a few other Intel Ethernet controller that should work as
is.
Properly update the RX error and TX collision counters.
Add ikphy(4), a driver for the Intel i82563 Kumeran 10/100/1000 Ethernet PHYs
2006-10-21 14:10:32 +00:00
tsutsui
7245fafc22 Add re at pci and rgephy at mii. 2006-10-20 15:48:37 +00:00
gdamore
5a87ca8ef8 sgimips converted to timecounters. Systems that can do them get mips_cp0
based logic.  We also use the common mips3_clock functions for those systems,
removing some port-specific code.

Tested by martin@.
2006-09-16 08:50:27 +00:00
rumble
fc6e81a8cb Check the haltwo hardware present bit in the match function, rather than
in the attach function after we've thwacked several registers and
potentially wedged the machine. This fixes booting on Challenge S systems
and addresses PR 25202.

Consequently, re-enable haltwo in the default kernel configuration.

Many thanks to George Harvey for testing and feedback.
2006-09-04 22:06:06 +00:00
rumble
db8f31d6dd Comment out tl(4) and nsphy(4) (used by the Set Engineering board) as it
appears to have an unresolved problem with bulk transmits.
2006-09-01 03:36:30 +00:00