nisimura
ac96fb2beb
- add siisata.c in Makefile.
...
- use DEVTOV() to highlight vtophys() issue.
- VIA NICs do not stretch less than 60 octet frames.
2008-04-07 13:25:31 +00:00
nisimura
a904272206
- add siisata.c which should cover SiI 3112, 3512 and 3114.
...
- include IDE/SATA definitions in globals.h.
2008-04-07 12:33:57 +00:00
nisimura
bc0567728b
add PCIIDE functionality which should cover cmdide, iteide, viaide and
...
slide. Still not in working order.
2008-04-07 11:13:14 +00:00
nisimura
a0f6082331
- add MII bitbang op modelled after sip.c
2008-04-07 02:02:39 +00:00
tsutsui
19a464fa71
- fix build with OBJDIR
...
- clean more generated files
2008-04-05 07:33:00 +00:00
tsutsui
9252161713
Use htole32() on preparing setup packet.
2008-04-05 06:46:39 +00:00
nisimura
a59dc1792e
- add COMPAT_40
...
- add #options WAPBL for journalled BSDFFS for GENERIC.NAS
2008-04-05 04:13:48 +00:00
nisimura
1976aeb78e
add rootfs on disk bootinfo case.
2008-04-05 04:05:06 +00:00
nisimura
3bbbade04a
add some MPC824x NAS box description. obtained by googl'ing.
2008-04-05 03:39:41 +00:00
nisimura
5d92871af1
revise SDRAM SPD detect attempt for EUMB I2C debugging purpose.
2008-04-03 11:24:02 +00:00
nisimura
82460723d2
add a prelimary implementation of MPC8245 EUMB I2C.
2008-04-02 06:20:53 +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
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
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
he
663b0ebf3e
Don't include <powerpc/oea/pmap.h>, use <powerpc/pmap.h> instead.
...
Discussed with garbled@, fixes build problem for LKMs.
2008-02-14 15:21:22 +00:00
joerg
e69482d49d
Introduce device_find_by_xname and device_find_by_driver_unit to replace
...
alldevs iterations all over src.
Patch discussed with and improved on suggestioned from cube@.
2008-02-12 17:30:57 +00:00
garbled
81953d91fb
Ifdef out all the MPC601 code with PPC_OEA601. Now only arches that have the
...
possibility of running on an MPC601, are infected with all the extra code
and nops that it added.
Also, fix compilation that I broke with the pmap code, by adding
oeacpufeat to the locores of various ppc arches. Noted by mlelstv.
2008-02-05 22:31:48 +00:00
joerg
3615cf7715
Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
...
remove the conditionals and the code associated with the undef case.
2008-01-20 18:09:03 +00:00
tsutsui
db09bcc34f
Move todr_attach(9) calls from each MD attachment to MI mc146818_attach().
2008-01-10 15:17:39 +00:00
ad
4a780c9ae2
Merge vmlocking2 to head.
2008-01-02 11:48:20 +00:00
nisimura
27f7bc42d9
remove EUMBBAR register debugging stuff. It should be ok when the
...
control reachs here.
2007-12-12 04:24:57 +00:00
nisimura
9cd3f872dc
have a compile time option, START_DDB_SESSION, to invoke immediate
...
DDB session in mid initppc().
2007-12-12 04:17:49 +00:00
nisimura
0edee75daa
- have machine/cpu.h and sys/device.h references here.
2007-12-11 05:32:12 +00:00
nisimura
d1ce7e7621
- switch to use majors.powerpc.
2007-12-11 05:01:21 +00:00
nisimura
da81a6921f
- make sure to advertise flowcontrol and 1000T FDX/HDX capablity for
...
GbE NICs.
- stop and reactive MII auto polling for every MII read/write access
in vge.c and nvt.c.
2007-12-09 09:55:58 +00:00
tsutsui
99221a563b
Use TAILQ_FIRST(3) and TAILQ_NEXT(3) macro.
2007-12-05 12:31:25 +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
nisimura
5155a3ee9b
comment-out lpt0 since EnCorePP1 experiences occasional irq 7 flood
...
regardless of the special care to disable LPT function in VIA 686SB.
May not revive anytime soon as it's considered little use.
2007-11-29 06:50:37 +00:00
nisimura
e511172428
add preliminary wm.c, a lot of fixes to make other NIC more sensible.
2007-11-29 04:00:17 +00:00
nisimura
a656f3f7be
- SandpointX3 practices serial mode EPIC with the help of special
...
FPGA circuit. pin A input only; pin B/C/D are not counted in.
- With EnCorePP1 heuristics find that i82559 (AD25) responds to EPIC 2.
2007-11-19 14:36:14 +00:00
nisimura
2820af119e
- fix initblk tlen/rlen field values.
...
- fix pcn_send() txd xd1 member.
2007-11-12 14:03:35 +00:00
nisimura
aca73b663f
- cache insns accept unaligned addresses to go.
...
- correct dcache_line_size range detect errors in inv()/wbinv().
- make inv() unaligned case friendly.
2007-11-12 05:29:22 +00:00
nisimura
da304b3915
EncorePP1 VIA686B southbridge fixup work; hide and disable USBx2, AC97
...
audio and MC97 modem, and force IDE to have native mode.
2007-11-05 15:56:37 +00:00
nisimura
0b718fbde6
- use offset 0x4500 serial for EUMB console.
...
- make sure to have I-cache/D-cache enabled. Ok for DINK32 and ppcboot.
- have 32B aligned fxp txdesc.
- sip transmit now works.
2007-11-05 13:41:48 +00:00
nisimura
ac767563ef
- rework sip.c, with bitbang fix. still remains not serving well.
...
- fix for PCI-PCI bridge recursive call.
2007-11-05 00:40:39 +00:00
nisimura
72585a9257
- extend nifdv struct to have NIF nickname for rootdev.
...
- a small mod. for bitbang'ing practice.
- DEVTOV() band-aid.
2007-11-02 02:31:11 +00:00
nisimura
9169c01b13
correct to have PCN32 init_block. add it to the driver list to use.
2007-10-30 05:05:19 +00:00
nisimura
9cc69ec81f
make this less dependent to the rest of NetBSD kernel.
2007-10-30 04:29:51 +00:00
nisimura
d1fea0c157
major PCI rework to make possible NIC autoconf. now bootloader
...
can have multiple network interface device drivers and choose one
by PCI_ID_REG matching.
2007-10-30 00:30:13 +00:00
nisimura
ae8068f5f7
still remain crude, work in progress.
2007-10-28 03:15:04 +00:00
nisimura
b08d93761c
stop to generate SREC kernel image. netboot is now considered a
...
standard path to boot off. DINK32 and ppcboot can handle it as a
staging bootloader.
2007-10-27 15:36:29 +00:00
nisimura
f1a2c1395e
arrange cache line friendly allocation where applicapable. Not
...
immutune from careless change of struct local. Away from
compiler extention.
2007-10-27 06:34:19 +00:00
nisimura
f74459a106
redo again the arrangement.
2007-10-27 05:35:55 +00:00
nisimura
94ca8c41e4
- remove ppb which is unlikey used.
...
- a comment about console selection.
2007-10-27 05:24:29 +00:00
nisimura
e7cbc24fab
rearrange lines to make the previous change easy to understand.
2007-10-27 05:10:19 +00:00
nisimura
653a3ff7de
- an inch forward southbridge-less configuration.
...
- make sure to have a fallback default for the case when no bootinfo
was prepared by a bootloader.
2007-10-27 04:32:39 +00:00
nisimura
2cbfeb1621
- make sure to have Rx poll demand issued.
...
- more vtophys() fallout.
- dismiss PHY stuff until MII r/w ops written.
2007-10-27 02:51:59 +00:00
nisimura
a7153f09ae
- copy intr.h from prep and make mods.
...
- ANSI-fy pci_machdep.c
2007-10-27 02:06:04 +00:00
nisimura
80011a5b90
off-by-one error to detect MSB of SEEPROM index.
2007-10-27 02:01:42 +00:00