summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded include.nyan2006-05-082-2/+0
|
* - Move defines for PC-98 machine type from pc98/cbus/cbus.h intonyan2006-05-081-8/+0
| | | | | | pc98/pc98/pc98_machdep.h. - Fix PC98_SYSTEM_PARAMETER_SIZE. - Remove unused defines.
* o Move ISA specific code from ppc.c to ppc_isa.c -- a bus front-marcel2006-04-242-2491/+0
| | | | | | | | | | | | | | end for isa(4). o Add a seperate bus frontend for acpi(4) and allow ISA DMA for it when ISA is configured in the kernel. This allows acpi(4) attachments in non-ISA configurations, as is possible for ia64. o Add a seperate bus frontend for pci(4) and detect known single port parallel cards. o Merge PC98 specific changes under pc98/cbus into the MI driver. The changes are minor enough for conditional compilation and in this form invites better abstraction. o Have ppc(4) usabled on all platforms, now that ISA specifics are untangled enough.
* - Use bus_setup_intr() and bus_teardown_intr() to register device driverjhb2006-02-224-9/+6
| | | | | | | | | | interrupt handlers rather than BUS_SETUP_INTR() and BUS_TEARDOWN_INTR(). Uses of the BUS_*() versions in the implementation of foo_intr methods in bus drivers were not changed. Mostly this just means that some drivers might start printing diagnostic messages like [FAST] when appropriate as well as honoring mpsafenet=0. - Fix two more of the ppbus drivers' identify routines to function correctly in the mythical case of a machine with more than one ppbus.
* Fix build error.nyan2005-12-232-0/+2
|
* Tweak how the MD code calls the fooclock() methods some. Instead ofjhb2005-12-222-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | passing a pointer to an opaque clockframe structure and requiring the MD code to supply CLKF_FOO() macros to extract needed values out of the opaque structure, just pass the needed values directly. In practice this means passing the pair (usermode, pc) to hardclock() and profclock() and passing the boolean (usermode) to hardclock_cpu() and hardclock_process(). Other details: - Axe clockframe and CLKF_FOO() macros on all architectures. Basically, all the archs were taking a trapframe and converting it into a clockframe one way or another. Now they can just extract the PC and usermode values directly out of the trapframe and pass it to fooclock(). - Renamed hardclock_process() to hardclock_cpu() as the latter is more accurate. - On Alpha, we now run profclock() at hz (profhz == hz) rather than at the slower stathz. - On Alpha, for the TurboLaser machines that don't have an 8254 timecounter, call hardclock() directly. This removes an extra conditional check from every clock interrupt on Alpha on the BSP. There is probably room for even further pruning here by changing Alpha to use the simplified timecounter we use on x86 with the lapic timer since we don't get interrupts from the 8254 on Alpha anyway. - On x86, clkintr() shouldn't ever be called now unless using_lapic_timer is false, so add a KASSERT() to that affect and remove a condition to slightly optimize the non-lapic case. - Change prototypeof arm_handler_execute() so that it's first arg is a trapframe pointer rather than a void pointer for clarity. - Use KCOUNT macro in profclock() to lookup the kernel profiling bucket. Tested on: alpha, amd64, arm, i386, ia64, sparc64 Reviewed by: bde (mostly)
* Merged from sys/dev/sio/sio.c revision 1.463.nyan2005-12-181-0/+1
|
* cpp(1) only understand integer arithmetical expressions, soru2005-12-061-2/+1
| | | | | | _MACHINE == i386 test always succeeds, even on non-i386 (both sides of expressions become 0). Remove the comment since _MACHINE and _MACHINE_ARCH are going away.
* Fix -Wundef warnings from compiling GENERIC and LINT kernels ofru2005-12-062-4/+4
| | | | all architectures.
* Fix -Wundef warnings found when compiling i386 LINT, GENERIC andru2005-12-051-2/+2
| | | | custom kernels.
* Catch up with new interrupt handling code.ru2005-10-261-2/+2
|
* Eliminate two unused arguments to ttycreate().phk2005-10-161-1/+1
|
* Use 'PC Card'nyan2005-09-301-2/+2
|
* Remove EPSON PC-386 note A/W/AE/WR support.nyan2005-09-144-41/+10
|
* Remove EPSON_NRDISK support.nyan2005-09-131-177/+2
|
* Fixup some more fallout from the lapic/i8254 changes:jhb2005-07-132-48/+40
| | | | | | | | | | | | - Make sure timer0_max_count is set to a correct value in the lapic case. - Revert i8254_restore() to explicitly reprogram timer 0 rather than calling set_timer_freq() to do it. set_timer_freq() only reprograms the counter if the max count changes which it never does on resume. This unbreaks suspend/resume for several people. Tested by: marks, others Reviewed by: bde MFC after: 3 days
* Remove a || 1 that crept into the i8254 commit and was subsequentlyjhb2005-07-052-2/+2
| | | | | | | | | copied and pasted. I had actually tested without this change in my trees as had the other testers. Reported by: bde, Rostislav Krasny rosti dot bsd at gmail dot com Approved by: re (scottl) Pointy hat to: jhb
* MFi386: r1.221 (Use a simpler implementation for the i8254 timecounter).nyan2005-07-032-24/+70
| | | | Approved by: re (scottl)
* Sync with syscons update (Add new member to struct sc_rndr_sw).nyan2005-05-291-0/+2
|
* Fix my copyright.nyan2005-05-143-3/+4
|
* - Move bus dependent defines to {isa,cbus}_dmareg.h.nyan2005-05-143-11/+45
| | | | | | - Use isa/isareg.h rather than <arch>/isa/isa.h. Tested on: i386, pc98
* - Move timerreg.h to <arch>/include and split i8253 specific defines intonyan2005-05-144-26/+21
| | | | | | | | | i8253reg.h, and add some defines to control a speaker. - Move PPI related defines from i386/isa/spkr.c into ppireg.h and use them. - Move IO_{PPI,TIMER} defines into ppireg.h and timerreg.h respectively. - Use isa/isareg.h rather than <arch>/isa/isa.h. Tested on: i386, pc98
* Move the pc98 keymap define into pckbdtables.h because it should be usednyan2005-05-122-1/+204
| | | | only on the pckbd driver.
* - Move the NPX_DEBUG option to options.{i386,pc98} and use opt_npx.h.nyan2005-05-121-13/+0
| | | | | - Move npx related defines to {i386,pc98}/include/npx.h to remove #include {isa,cbus}.h.
* - Move lptreg.h into pc98/cbus and rename to olptreg.h.nyan2005-05-102-1/+49
| | | | - Remove ifdef pc98.
* Change a directory layout for pc98.nyan2005-05-1010-18/+17
| | | | | | | | | - Move MD files into <arch>/<arch>. - Move bus dependent files into <arch>/<bus>. Rename some files to more suitable names. Repo-copied by: peter Discussed with: imp
* - Remove ifdef PC98.nyan2005-04-133-329/+30
| | | | - Reduce diffs from i386.
* Merge from i386:jhb2005-03-242-14/+32
| | | | | - Add a i8254_pending variable to save some indirections in clkintr(). - Don't bother setting up an IRQ0 handler if we are using the lapic timer.
* Define IRQ_NPX for the irq used for the npx. Define macro for a fullimp2005-03-161-0/+11
| | | | reset of of npx, as appropriate for the platform.
* MFi386: revision 1.217.nyan2005-03-122-6/+0
|
* - Remove the BURN_BRIDGES marked support for hooking into the ISA timer 0jhb2005-03-092-288/+4
| | | | | | | | interrupt. - Remove the timer_func variable as it now has a static value of hardclock() and is only used in one place. Axe borrowed from: phk
* Use dynamic major number allocation.phk2005-02-271-1/+0
|
* Merged from sys/dev/sio/sio.c revision 1.458.nyan2005-02-111-9/+5
|
* Fix pc98 compile: merge in changes to use the local APIC timer. Also, addjhb2005-02-092-28/+28
| | | | missing initialization of i8254_intsrc while I am here.
* Remove unused defines.nyan2005-02-071-9/+0
|
* Add missing isa_dmatc() function.phk2005-02-071-7/+12
| | | | | This may or may not be correct, Only the pcii driver would notice and it doesn't support PC98 yet.
* Merged from sys/dev/sio/sio.c revision 1.457.nyan2005-02-041-5/+9
|
* In my last commit, I'd assumed that LINE30 was always defined. Itimp2005-01-092-0/+29
| | | | | | | | turns out that LINE30_ROW was always defined, not LINE30. I confused this for LINE30 and did the unifdef -DLINE30 using that mistaken belief. This corrects that problem. Submitted by: nyan-san
* LINE30 is always defined now, so unifdef -DLINE30 for clarity.imp2005-01-081-21/+0
|
* Merge module.h into 30line.h and remove it. It lacked aimp2005-01-081-30/+5
| | | | | | | | | copyright/license header and was only used by 30line.h. It appears that the copyright/license in 30line.h covers the old contents module.h anyway, so this simplifies things a little while cleaning up one obscure potential license confusion... Revired by: nyan-san
* /* -> /*- for license, minor formatting changesimp2005-01-075-5/+5
|
* Fix comment.phk2004-12-221-1/+1
|
* Add FL_MFM flag to the fd_native_types structure.nyan2004-11-091-2/+2
| | | | Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
* Use bioq_takefirst()phk2004-10-221-4/+2
|
* Merged from sys/dev/sio/sio.c (Use generic tty code).nyan2004-10-151-90/+45
|
* Remove unused variable.njl2004-10-151-1/+0
|
* Remove local hacks to set flags now that the device probe does this for us.njl2004-10-141-2/+0
| | | | | | | Tested on every device except sio_pci and the pc98 fd.c. Perhaps something similar should be done for the "disabled" hints also. MFC after: 2 weeks
* Use generic tty code instead of local stuff.phk2004-10-131-523/+107
| | | | NB: device names are now consistent: {cua,tty}d$(port)[.lock,.init]
* Add more PnP serial cards support.nyan2004-10-011-11/+19
| | | | | PR: kern/72226 Submitted by: Hirokazu WATANABE <wnabe@par.odn.ne.jp>
* Merged from sys/dev/sio/sio.c: more tty related changes.nyan2004-09-201-9/+10
|
OpenPOWER on IntegriCloud