Commit Graph

542 Commits

Author SHA1 Message Date
tsutsui
04ac2a66fd Enable smbfs, tested by several people on port-cobalt. 2008-10-30 00:03:07 +00:00
tsutsui
f6a3248825 Our ever glowing kernel reaches the firmware limit,
so disable several options to shrink the INSTALL kernel that will
be used as an emergency kernel loaded by the firmware directly.
2008-10-30 00:02:16 +00:00
apb
f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
tsutsui
8659ab3851 Add sequencer and vcoda. 2008-10-12 04:36:36 +00:00
tsutsui
1c80af48f5 Now the cobalt kernel can detect boot device properly by boot strings
passed from the firmware, so change root file system type from
explicit nfs to generic '?' so that the INSTALL kernel can also be used
as a rescue kernel on localdisk.
2008-10-11 16:54:48 +00:00
tsutsui
71c4496216 Add audio and midi devices, per report from Mike Hebel on port-cobalt. 2008-10-10 16:44:23 +00:00
uebayasi
08912a35bf Typo in a comment. 2008-10-01 02:44:14 +00:00
tsutsui
28c30d59ac - enable dhclient(8) in RAMDISK kernel
- bump mdroot size
2008-09-13 07:36:30 +00:00
tls
fca9d633b9 Add accept filters to GENERIC kernels where they exist. 2008-08-10 15:31:20 +00:00
simonb
0751ba4bff Add "options WAPBL" to standard GENERIC/INSTALL type configs. 2008-07-31 07:40:59 +00:00
ad
b94f79f0e8 Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@. 2008-07-02 17:28:54 +00:00
tsutsui
1c6ef0f169 Add device nodes for usb devices. 2008-06-08 04:05:58 +00:00
ad
06c343ac94 vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both. 2008-06-04 12:41:40 +00:00
ad
48ced055d4 pci_intr_setattr(), allows PCI interrupts to be marked MPSAFE on x86, and
other platforms if the code is added.

pci_intr_map(...)
pci_intr_setattr(pc, ih, PCI_INTR_MPSAFE, 1);
pci_intr_establish(...)
2008-05-30 19:26:35 +00:00
tsutsui
8578fbdffa - also put a boot failure message to LCD
- fix botched (and unused) macro
- use struct lcd_message consistently
2008-05-29 14:25:00 +00:00
tsutsui
07c5a11f73 Include files.bluetooth. 2008-05-28 14:05:14 +00:00
tsutsui
0e88f65e18 Print boot banner and a loading kernel name onto LCD,
for users who don't have serial console.  Bump version.
2008-05-28 14:04:07 +00:00
tsutsui
40f5425d58 Remove all initialization of obsolete ci_divisor_recip in
mips struct cpu_info and related macroes.
The member was prepared for a hack in MD microtime(9) implementation
but it has been superseded by MI timecounter(9).
2008-05-26 15:59:29 +00:00
tsutsui
b87210fa51 Normalize my licenses. 2008-05-14 13:29:27 +00:00
tsutsui
269bbddf81 Remove complete items (multi function PCI interrupts, zs on Qube2700). 2008-05-13 15:06:40 +00:00
tsutsui
e04f8f6085 On netboot specify only FS_OPS(nfs) explicitly for file_system[] fs_ops.
Trying block device fs_ops like ext2fs on netboot could be problematic
on some conditions since not all libsa functions handle errors properly.
2008-05-13 14:26:20 +00:00
tsutsui
416b7a7683 Remove an unused extern declaration. 2008-05-13 14:20:58 +00:00
tsutsui
f519863871 Split softc/device_t, with misc related changes. 2008-05-09 10:59:55 +00:00
tsutsui
1a8652c79c - reorganize com console code
- remove unused functions
2008-04-29 15:24:50 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tsutsui
02cb47cab2 Split softc and device_t for zsc(4) and its children.
XXX we should restructure MI APIs and make it really machine independent.
2008-03-29 19:15:34 +00:00
tsutsui
4090172b20 Don't forget to initialize sc_dev. 2008-03-29 05:42:45 +00:00
tsutsui
048fb884fc Split device_t and softc for MI mc146818 clock,
and other related misc cosmetics.
2008-03-28 19:05:49 +00:00
tsutsui
dde8b66a5c Add zsc(4) and zstty(4) for Qube 2700. 2008-03-27 15:24:35 +00:00
tsutsui
fc21b00873 Add kernel support for optional Z85C30 serial console on Cobalt Qube 2700.
There is some interrupt related issue (in MI z8530tty driver?) on heavy load,
but useful enough for debugging.
2008-03-27 15:21:46 +00:00
tsutsui
4f64b6719d Use macro defined in <machine/cpu.h> for cobalt_id and device addresses etc.
since <machine/leds.h> has been removed.
Also remove redundant address definitions in Makefile and local headers.
Pointed out by dieter roelants.
2008-03-23 17:19:57 +00:00
tsutsui
18573edb9c Use C99 initializer. 2008-03-22 18:46:49 +00:00
tsutsui
38e83cc130 Reorganize interrupt handling on cobalt and allow multiple interrupts on
each icu irq to support multi function PCI devices in the Qube's PCI slot:

- split out interrupt stuff from machdep.c into new interrupt.c
- prepare struct *_intrhead to handle cpu and icu interrupts
- use LIST and malloc(9) to handle multiple interrupts per icu irq
  (mostly taken from algor/pci/pcib.c and evbmips/malta/pci/pcib.c)
- move evcnt(9) stuff into *_intrhead from cobalt_intrhand
  (i.e. make it per interrupt rather than per handler)
- in pci_intr_map(9) handle CPU interrupt separately and add a sanity check
- fixup interrupt lines for devices on the PCI slot in pci_conf_interrupt(9)
- move some device address definitions into <machine/cpu.h> and
  remove <machine/leds.h>
- misc cosmetics

No objection on port-cobalt for three weeks.
2008-03-22 18:32:20 +00:00
tsutsui
f9697db4a0 Fix botched spl(9) bug I introduced back in 3.99.18 (rev 1.64):
Don't enable unhandled interrupts before all interrupts are processed.

Should fix "long download, network frozen" problems reported on
port-cobalt by several people.
2008-03-18 15:02:12 +00:00
tsutsui
49576266b9 Add support for optional Z85C30 serial console on Cobalt Qube 2700.
Bump version.
2008-03-16 10:10:43 +00:00
tsutsui
c828b4e601 Add more wait after sending a setup packet since
21041 on Qube 2700 seems to require more setup time.
2008-03-16 09:38:17 +00:00
cube
607ead0ef4 Split device_t and softc for all com(4) devices (well, everything that
uses a com_softc backend).  Use proper types and ansify where appropriate.
2008-03-14 15:09:09 +00:00
tsutsui
50698ab6af Print "NetBSD/cobalt Starting up... " to LCD panel on boot, and also
print "NetBSD/cobalt Shutting donw..." on halt via shutdown hook.
This would be useful for users who don't have serial console.

No objection on port-cobalt.
2008-03-04 14:40:16 +00:00
tsutsui
a9ae1f2955 Use xlat_mbr_fstype() so that we can mount FAT removable media properly. 2008-03-03 15:22:01 +00:00
tsutsui
590ed564a8 WARNSfy 2008-03-02 06:17:41 +00:00
tsutsui
069af26195 Misc fixes to support 21041 on Qube2700:
- prepare two TX descriptors to avoid race and also use chaind mode
- use a recently added pcicfgread() function to get tulip I/O address
- use cobalt model id to see if we have 21041 or 21143
  (XXX maybe it's better to see PCI product ID)
- add code to reset SIA on 21041
- prepare and send filter setup packet on init
- reduce delay in RX polling
- bump version again

Now netboot works fine on Qube 2700 (even without console). Yay.
2008-03-01 20:39:25 +00:00
tsutsui
7c2a00cd44 Rename some variables to sync with original sandpoint's one. 2008-03-01 20:24:25 +00:00
tsutsui
8b1c40bc08 Split out a PCI configuration space read function into a separate file
so that we could use it in other sources.
2008-03-01 18:13:02 +00:00
tsutsui
c85e5be217 - print cobalt model names in boot banner
- bump version.
2008-03-01 17:45:11 +00:00
rmind
c6186face4 Welcome to 4.99.55:
- Add a lot of missing selinit() and seldestroy() calls.

- Merge selwakeup() and selnotify() calls into a single selnotify().

- Add an additional 'events' argument to selnotify() call.  It will
  indicate which event (POLL_IN, POLL_OUT, etc) happen.  If unknown,
  zero may be used.

Note: please pass appropriate value of 'events' where possible.
Proposed on: <tech-kern>
2008-03-01 14:16:49 +00:00
tsutsui
ec4fe570ec Enable bpfilter, which is required by dhclient(8). 2008-03-01 05:40:38 +00:00
tsutsui
cb6802dea9 Comment out some PCIIDE devices which wouldn't be available for a PCI slot. 2008-03-01 05:37:33 +00:00
tsutsui
b2335fbf0b Enable puc at pci and com at puc, which might be useful Qube2700. 2008-03-01 05:28:28 +00:00
tsutsui
06c8e3f473 cnscan() should return -1 (no input) if there is no console device.
Now wd boot works on Qube2700 (which doesn't have serial console).
2008-03-01 05:15:31 +00:00
tsutsui
c98271f989 Add options COMPAT_40. 2008-02-28 17:01:51 +00:00